From rhartman@example.com Sun Jun 01 14:13:34 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 65461 invoked by uid 500); 1 Jun 2003 14:13:33 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Received: (qmail 65308 invoked by uid 500); 1 Jun 2003 14:13:31 -0000 Delivered-To: rhartman@example.com Message-ID: <rhartman@example.com> From: rhartman@example.com To: rhartman@example.com Subject: Bug report for Apache SOAP [2003/06/01] Date: Sun, 01 Jun 2003 14:15:43 -0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 2209|New|Nor|2001-06-18|Send XML data as a string? | |10716|Ass|Maj|2002-07-11|Can't unmarshall xsi:nil="true" if xsi:type is mis| |11370|Ass|Maj|2002-08-01|Error: 500 :Location: /apache-soap/admin/list.jsp | |11672|New|Nor|2002-08-13|RPCRouter specification of ConfigFile restrictive | |12743|Ass|Cri|2002-09-17|Method execution fails at huge SOAP-Parameters | |12834|Ass|Cri|2002-09-19|Fails on certain parameter names. | |15666|New|Nor|2002-12-26|"Deployed Service Information page" is uncomfortab| |17755|New|Nor|2003-03-07|Version information in MANIFEST.MF file. | |19074|New|Enh|2003-04-16|Ability to cancel pending Calls | |19608|Ass|Maj|2003-05-02|Apache SOAP client consuming .NET web service has | +-----+---+---+----------+--------------------------------------------------+ | Total 10 bugs | +---------------------------------------------------------------------------+ From rhartman@example.com Mon Jun 02 12:01:52 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 21816 invoked by uid 500); 2 Jun 2003 12:01:48 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Received: (qmail 21725 invoked by uid 500); 2 Jun 2003 12:01:47 -0000 Delivered-To: rhartman@example.com Message-ID: <rhartman@example.com> From: "Subrahmanya, Noida" <rhartman@example.com> To: rhartman@example.com, rhartman@example.com, rhartman@example.com, rhartman@example.com Subject: Document/RPC web service Date: Mon, 2 Jun 2003 17:20:31 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C328FD.2B977910" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C328FD.2B977910 Content-Type: text/plain; charset="iso-8859-1" What axactly is an Document oriented web service and RPC-stype web service? What is the different? With Thanks and Regards, <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />B. Subrahmanya Nayak Member Technical Staff, HCL Technologies Ltd., Net Centric Division, B-41, A-11,Sector 16, _____ <http://promos.hotbar.com/promos/promodll.dll?RunPromo&El=hotbar%5felement%3 bst%3b&SG=&RAND=99562> Upgrade Your Email - Click here! ------_=_NextPart_001_01C328FD.2B977910 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD> <BODY=20 style=3D"BACKGROUND-POSITION: right bottom; FONT-WEIGHT: normal; = FONT-SIZE: 12pt; BACKGROUND-IMAGE: = url(http://skins.hotbar.com/skins/mailskins/st/012702/012702transport27_= 1.jpg); MARGIN: 3px 0px 220px 6px; COLOR: #000000; BACKGROUND-REPEAT: = no-repeat; FONT-FAMILY: Book Antiqua; BACKGROUND-COLOR: #efebef"=20 bgColor=3D#efebef stationery_tag_mark hbtype=3D"st" = hmark=3D"hotbar_element"> <DIV><SPAN class=3D542312411-02062003>What axactly is an Document = oriented web=20 service and RPC-stype web service? What is the different?</SPAN></DIV> <DIV><SPAN class=3D542312411-02062003></SPAN>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2> <DIV><FONT size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Arial Black'; = mso-bidi-font-family: Arial"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#000000>With Thanks and=20 Regards,</FONT></SPAN></SPAN></FONT></DIV> <DIV><FONT size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Arial Black'; = mso-bidi-font-family: Arial"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT=20 color=3D#000000></FONT></SPAN></SPAN></FONT>&nbsp;</DIV> <DIV><FONT size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Arial Black'; = mso-bidi-font-family: Arial"><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#000000><?xml:namespace=20 prefix =3D o ns =3D "urn:schemas-microsoft-com:office:office"=20 /><o:p></o:p></FONT></SPAN>B. Subrahmanya Nayak</SPAN><BR>Member = Technical=20 Staff,<BR>HCL Technologies Ltd.,<BR>Net Centric Division,<BR>B-41, = A-11,Sector=20 16,<BR></FONT></DIV></FONT></DIV> <DIV id=3Dhotbar_promo><BR> <HR align=3Dleft width=3D"100%" color=3Dgray noShade SIZE=3D1> <A=20 href=3D"http://promos.hotbar.com/promos/promodll.dll?RunPromo&amp;El=3Dh= otbar%5felement%3bst%3b&amp;SG=3D&amp;RAND=3D99562"><IMG=20 title=3D"" alt=3D"Upgrade Your Email - Click here!"=20 src=3D'http://promos.hotbar.com/promos/promodll.dll?GetPromo&amp;El=3Dho= tbar%5felement%3bst%3b&amp;SG=3D&amp;RAND=3D99562"'=20 border=3D0></A> </DIV></BODY></HTML> ------_=_NextPart_001_01C328FD.2B977910-- From rhartman@example.com Mon Jun 02 13:52:23 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 65559 invoked by uid 500); 2 Jun 2003 13:52:22 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Delivered-To: moderator for rhartman@example.com Received: (qmail 90288 invoked by uid 500); 2 Jun 2003 12:48:53 -0000 Delivered-To: rhartman@example.com Message-ID: <018601c32905$4b1d90f0$6f01a8c0@TPX21> From: "Anne Thomas Manes" <rhartman@example.com> To: <rhartman@example.com>, <rhartman@example.com>, <rhartman@example.com> References: <rhartman@example.com> Subject: Re: Document/RPC web service Date: Mon, 2 Jun 2003 08:47:12 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N See http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_ cid494324_tax289201,00.html ----- Original Message ----- From: Subrahmanya, Noida To: rhartman@example.com ; rhartman@example.com ; rhartman@example.com ; rhartman@example.com Sent: Monday, June 02, 2003 7:50 AM Subject: Document/RPC web service What axactly is an Document oriented web service and RPC-stype web service? What is the different? With Thanks and Regards, B. Subrahmanya Nayak Member Technical Staff, HCL Technologies Ltd., Net Centric Division, B-41, A-11,Sector 16, From rhartman@example.com Tue Jun 03 13:28:30 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 59774 invoked by uid 500); 3 Jun 2003 13:28:29 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Received: (qmail 59612 invoked from network); 3 Jun 2003 13:28:27 -0000 To: rhartman@example.com Subject: Recieve the error "Attachment tag item .." MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: <rhartman@example.com> From: rhartman@example.com Date: Tue, 3 Jun 2003 09:29:19 -0400 X-MIMETrack: Serialize by Router on issnotes/ISS(Release 5.0.10 |March 22, 2002) at 06/03/2003 09:29:20 AM, Serialize complete at 06/03/2003 09:29:20 AM Content-Type: multipart/alternative; boundary="=_alternative 004A036885256D3A_=" X-Spam-Status: No, hits=-102.9 required=4.0 tests=AWL,BAYES_20,HTML_50_60,NO_REAL_NAME,USER_IN_WHITELIST version=2.53 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53 (83.161.120.155-2003-03-30-exp) X-Spam-Checker-Version: SpamAssassin 2.53 (83.161.120.155-2003-03-30-exp) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 004A036885256D3A_= Content-Type: text/plain; charset="us-ascii" My soap client recives the error Attachment tag "item" refers to a Mime attachment with label "cid:12568800.1054615058828.apache-soap.%B1%E8%C8%F1%C1%A4102179" which could not be found. The SOAP Client is sending a Vector that consists of 3 elements File Name Checksum for the file DataHandler for the file Here is the relevant code: String encodingStyleURI = Constants.NS_URI_SOAP_ENC; URL url; SOAPMappingRegistry smr = new SOAPMappingRegistry(); Vector params; Response resp = null; Parameter ret = null; XferResponse myResp = new XferResponse(); try { url = new URL(targetURL); } catch (Exception e) { /* System.err.println ("Caught exception " + e); System.err.print ("while connecting to " + targetURL); System.err.print (" remoteURI = " + remoteURI); System.err.println (" remoteMethod = " + methodName); */ myResp.errorCode = 1; myResp.errorMessage = e.getMessage(); return (myResp); } if (parmVector.size() > 0) { params = new Vector(); params.addElement(new Parameter("test", java.util.Vector.class, parmVector, encodingStyleURI)); Call call = new Call(); call.setSOAPMappingRegistry(smr); call.setTargetObjectURI(remoteURI); call.setMethodName(methodName); call.setEncodingStyleURI(encodingStyleURI); call.setParams(params); try { resp = call.invoke(url, ""); } catch (SOAPException e) { System.err.println("Caught SOAPException (" + e.getFaultCode() + "): " + e.getMessage()); e.printStackTrace(); myResp.errorCode = 32; myResp.errorMessage = e.getMessage(); return (myResp); } // Check the response. if (!resp.generatedFault()) { ret = resp.getReturnValue(); if(ret == null){ myResp.errorCode = 33; myResp.errorMessage = "No return value from call."; } else { //System.err.println("Response: " + resp); // printObject(ret.getValue()); myResp.errorCode = 0; } myResp.retParm = ret; } else { Fault fault = resp.getFault(); System.err.println("Generated fault: "); System.err.println (" Fault Code = " + fault.getFaultCode()); System.err.println (" Fault String = " + fault.getFaultString()); myResp.errorCode = 1; myResp.errorMessage = fault.getFaultString(); } } return (myResp); } Please help Thanks Komal rhartman@example.com --=_alternative 004A036885256D3A_= Content-Type: text/html; charset="us-ascii" <br><font size=2 face="sans-serif">My soap client recives the error </font> <br> <br><font size=2 face="sans-serif">Attachment tag &quot;item&quot; refers to a Mime attachment with label &quot;cid:12568800.1054615058828.apache-soap.%B1%E8%C8%F1%C1%A4102179&quot; which could not be found.</font> <br> <br> <br><font size=2 face="sans-serif">The SOAP Client is sending a Vector that consists of 3 elements</font> <br> <br><font size=2 face="sans-serif">File Name</font> <br><font size=2 face="sans-serif">Checksum for the file</font> <br><font size=2 face="sans-serif">DataHandler for the file </font> <br> <br><font size=2 face="sans-serif">Here is the relevant code:</font> <br> <br> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; String encodingStyleURI = Constants.NS_URI_SOAP_ENC;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; URL url;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SOAPMappingRegistry smr = new SOAPMappingRegistry();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Vector params;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response resp = null;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Parameter ret = null;</font> <br> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XferResponse myResp = new XferResponse();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try {</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; url = new URL(targetURL);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; catch (Exception e) {</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /*</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.err.println (&quot;Caught exception &quot; + e);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.err.print (&quot;while connecting to &quot; + targetURL);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.err.print (&quot; remoteURI = &quot; + remoteURI);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.err.println (&quot; remoteMethod = &nbsp;&quot; + methodName);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; */</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myResp.errorCode = 1;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myResp.errorMessage = e.getMessage();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return (myResp);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</font> <br> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (parmVector.size() &gt; 0) {</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; params = new Vector();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; params.addElement(new Parameter(&quot;test&quot;, </font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; java.util.Vector.class,</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;parmVector, encodingStyleURI));</font> <br> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Call call = new Call();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; call.setSOAPMappingRegistry(smr);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; call.setTargetObjectURI(remoteURI);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; call.setMethodName(methodName);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; call.setEncodingStyleURI(encodingStyleURI);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; call.setParams(params);</font> <br> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try {</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; resp = call.invoke(url, &quot;&quot;);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } catch (SOAPException e) {</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.err.println(&quot;Caught SOAPException (&quot; +</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e.getFaultCode() + &quot;): &quot; +</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e.getMessage());</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e.printStackTrace();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myResp.errorCode = 32;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myResp.errorMessage = e.getMessage();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return (myResp);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</font> <br> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Check the response.</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!resp.generatedFault()) {</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ret = resp.getReturnValue();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(ret == null){</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myResp.errorCode = 33;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myResp.errorMessage = &quot;No return value from call.&quot;;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else &nbsp;{</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //System.err.println(&quot;Response: &quot; + resp);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // printObject(ret.getValue());</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myResp.errorCode = 0;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myResp.retParm = ret;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Fault fault = resp.getFault();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.err.println(&quot;Generated fault: &quot;);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.err.println (&quot; &nbsp;Fault Code &nbsp; = &quot; + fault.getFaultCode());</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.err.println (&quot; &nbsp;Fault String = &quot; + fault.getFaultString());</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myResp.errorCode = 1;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myResp.errorMessage = fault.getFaultString();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return (myResp);</font> <br> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font> <br> <br> <br> <br><font size=2 face="sans-serif">Please help </font> <br> <br><font size=2 face="sans-serif">Thanks</font> <br><font size=2 face="sans-serif">Komal</font> <br> <br><font size=2 face="sans-serif">rhartman@example.com</font> --=_alternative 004A036885256D3A_=-- From rhartman@example.com Fri Jun 06 14:47:54 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 90239 invoked by uid 500); 6 Jun 2003 14:47:53 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Received: (qmail 90197 invoked from network); 6 Jun 2003 14:47:53 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Session management bet Apache SOAP and MS SOAP Date: Fri, 6 Jun 2003 08:47:54 -0600 Message-ID: <rhartman@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HELP! Thread-Index: AcL/LzfCJUteEwHaTTCYLiGIO0hMkwtCm6mA From: "Jindal, Ashwini" <rhartman@example.com> To: <rhartman@example.com> X-OriginalArrivalTime: 06 Jun 2003 14:47:54.0963 (UTC) FILETIME=[9CF67A30:01C32C3A] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N All, I am looking at the proof of concept to see if I can use C# as our = Client and J2EE as our Server. For me to achieve this, I need to = maintain the session information (which is critical). I was reading one of the FAQ's at the apache site and it says this:=20 "Currently MS-Soap and Apache Soap are not interoperable as far as = session maintenance is concerned this is because unlike Apache SOAP, = MS-SOAP does not allow you to set cookies in the HTTP header." I wanted to know if someone has used this in some form to achieve the = above requirement and could suggest me a way out for this. Quick responses would be greatly appreciated. Thanks...AJ From rhartman@example.com Sat Jun 07 13:07:03 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 13824 invoked by uid 500); 7 Jun 2003 13:07:02 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Delivered-To: moderator for rhartman@example.com Received: (qmail 89156 invoked from network); 5 Jun 2003 12:42:05 -0000 Content-return: allowed Date: Thu, 05 Jun 2003 13:35:19 +0100 From: "Lele, Prashant" <rhartman@example.com> Subject: Unsupported response content type "text/html", must be "text/xml" To: "'rhartman@example.com'" <rhartman@example.com> Message-id: <7E57363462464B43A9B4145116259FFE0244B589@uk2-mail02> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain Content-transfer-encoding: 7BIT Importance: high X-Priority: 1 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I'am stuck at a point where my Soap service running on the client gives the following message: Caught SOAPException (SOAP-ENV:Protocol): Unsupported response content type "text/html", must be: "text/xml". Response was: <HTML> <HEAD><TITLE>Bad request</TITLE></HEAD> <BODY> Content type must be: 'text/xml'. </BODY> </HTML> The RPC Router throws the following exception: 2003/06/05-11:01:07.934#:#fid027#:#fid028.servlet#:#[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Content type must be: 'text/xml'.] at com.infoengine.soap.SoapRPCRouter$RequestDispatcher.run(SoapRPCRouter.java:4 05) at com.infoengine.soap.SoapRPCRouter.doPost(SoapRPCRouter.java:345) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl etRunner.java:891) at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1 064) at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne r.java:953) The Web Server I'am using is Iplanet Enterprise Edition 6.0. The SOAP RPC servlet has been configured properly. The required jar files (soap.jar,mail.jar,activation.jar,xerces.jar) are present in the CLASSPATH of the embedded servlet engine. Additionally, I tried to add the path of the SoapRPCRouter to the above classpath without any success. Also, I tried editing the mime types on the Web Server so that it recognizes the 'text/xml' content type but this dosen't seem to work either. I would like to know how to resolve this issue. Best Regards, Prashant This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error please delete it and immediately notify the sender. Security Notice: all e-mail, sent to or from this address, may be accessed by someone other than the recipient, for system management and security reasons. This access is controlled under Regulation of Investigatory Powers Act 2000, Lawful Business Practises. From rhartman@example.com Sat Jun 07 13:07:29 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 14708 invoked by uid 500); 7 Jun 2003 13:07:29 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Delivered-To: moderator for rhartman@example.com Received: (qmail 4072 invoked by uid 500); 6 Jun 2003 14:54:29 -0000 Delivered-To: rhartman@example.com Message-ID: <C59B57F38112D311A47A0008C7F33BA102AA87EB@TAMFS11> From: Leif Nilsson TACMa <rhartman@example.com> To: rhartman@example.com Subject: SSL dies Date: Fri, 6 Jun 2003 16:52:47 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi! I have a problem of my apache soap client suddenly stops executing (it = takes som days). Debugging shows that the client hangs in SSLUtils.buildSSLSocket() as = it in turn calls SSLSocketImpl.startHandshake(); following the stack trace it ends in SocketInputStream.socketRead() = (native) TIme for weekend but I'll turn back to this problem next week. Any clues out there ? Leif Nilsson Software Engineer TAC AB J=E4gershillgatan 18 SE-213 75 Malm=F6, Sweden Direct +1-587-471-5465 Fax +1-587-471-5465 Mobile +1-587-471-5465 www.tac-global.com This email is intended only for the use of the individual or entity to = whom it is addressed. It may contain information that is privileged, = confidential or otherwise protected from disclosure under applicable law. If you = have received this transmission in error, please delete it immediately and = notify me by mailing me. From rhartman@example.com Sat Jun 07 15:47:15 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 12965 invoked by uid 500); 7 Jun 2003 15:47:14 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Received: (qmail 12850 invoked from network); 7 Jun 2003 15:47:12 -0000 Date: Sat, 07 Jun 2003 11:49:07 -0400 From: Scott Nichol <rhartman@example.com> Subject: Re: Unsupported response content type "text/html", must be "text/xml" In-reply-to: <7E57363462464B43A9B4145116259FFE0244B589@uk2-mail02> To: rhartman@example.com Message-id: <3EE1D133.24199.A7EA8EB@localhost> MIME-version: 1.0 X-Mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Priority: normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N What are you using as a client? It does not seem to be setting the HTTP Content-Type header to text/xml. On 5 Jun 2003 at 13:35, Lele, Prashant wrote: > Hi, > > I'am stuck at a point where my Soap service running on the client gives the > following message: > > Caught SOAPException (SOAP-ENV:Protocol): Unsupported response content type > "text/html", must be: "text/xml". Response was: > <HTML> > <HEAD><TITLE>Bad request</TITLE></HEAD> > <BODY> > Content type must be: 'text/xml'. > </BODY> > </HTML> > > The RPC Router throws the following exception: > > 2003/06/05-11:01:07.934#:#fid027#:#fid028.servlet#:#[SOAPException: > faultCode=SOAP-ENV:Protocol; msg=Content type must be: 'text/xml'.] > at > com.infoengine.soap.SoapRPCRouter$RequestDispatcher.run(SoapRPCRouter.java:4 > 05) > at com.infoengine.soap.SoapRPCRouter.doPost(SoapRPCRouter.java:345) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl > etRunner.java:891) > at > com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1 > 064) > at > com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne > r.java:953) > > The Web Server I'am using is Iplanet Enterprise Edition 6.0. The SOAP RPC > servlet has been configured properly. The required > jar files (soap.jar,mail.jar,activation.jar,xerces.jar) are present in the > CLASSPATH of the embedded servlet engine. Additionally, I tried > to add the path of the SoapRPCRouter to the above classpath without any > success. > > Also, I tried editing the mime types on the Web Server so that it recognizes > the 'text/xml' content type but this dosen't seem to work either. > > I would like to know how to resolve this issue. > > Best Regards, > Prashant > > This e-mail is intended only for the above addressee. It may contain > privileged information. If you are not the addressee you must not copy, > distribute, disclose or use any of the information in it. If you have > received it in error please delete it and immediately notify the sender. > Security Notice: all e-mail, sent to or from this address, may be > accessed by someone other than the recipient, for system management and > security reasons. This access is controlled under Regulation of > Investigatory Powers Act 2000, Lawful Business Practises. > Scott Nichol Do not reply directly to this e-mail address, as it is filtered to only receive e-mail from specific mailing lists. From rhartman@example.com Sun Jun 08 14:13:36 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 65214 invoked by uid 500); 8 Jun 2003 14:13:30 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Received: (qmail 65082 invoked by uid 500); 8 Jun 2003 14:13:29 -0000 Delivered-To: rhartman@example.com Message-ID: <rhartman@example.com> From: rhartman@example.com To: rhartman@example.com Subject: Bug report for Apache SOAP [2003/06/08] Date: Sun, 08 Jun 2003 14:15:43 -0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 2209|New|Nor|2001-06-18|Send XML data as a string? | |10716|Ass|Maj|2002-07-11|Can't unmarshall xsi:nil="true" if xsi:type is mis| |11370|Ass|Maj|2002-08-01|Error: 500 :Location: /apache-soap/admin/list.jsp | |11672|New|Nor|2002-08-13|RPCRouter specification of ConfigFile restrictive | |12743|Ass|Cri|2002-09-17|Method execution fails at huge SOAP-Parameters | |12834|Ass|Cri|2002-09-19|Fails on certain parameter names. | |15666|New|Nor|2002-12-26|"Deployed Service Information page" is uncomfortab| |17755|New|Nor|2003-03-07|Version information in MANIFEST.MF file. | |19074|New|Enh|2003-04-16|Ability to cancel pending Calls | |19608|Ass|Maj|2003-05-02|Apache SOAP client consuming .NET web service has | +-----+---+---+----------+--------------------------------------------------+ | Total 10 bugs | +---------------------------------------------------------------------------+ From rhartman@example.com Mon Jun 09 20:03:06 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 55843 invoked by uid 500); 9 Jun 2003 20:03:04 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Received: (qmail 55802 invoked from network); 9 Jun 2003 20:03:03 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Session management bet Apache SOAP and MS SOAP Date: Mon, 9 Jun 2003 14:03:08 -0600 Message-ID: <rhartman@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HELP! Thread-Index: AcL/LzfCJUteEwHaTTCYLiGIO0hMkwtCm6mAAKIYmVA= X-Priority: 1 Priority: Urgent Importance: high From: "Jindal, Ashwini" <rhartman@example.com> To: <rhartman@example.com> X-OriginalArrivalTime: 09 Jun 2003 20:03:08.0425 (UTC) FILETIME=[2580FF90:01C32EC2] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N No one has ever used this approach??? Some one would be there in need of = this... Please provide your useful inputs to this... -----Original Message----- From: Jindal, Ashwini=20 Sent: Friday, June 06, 2003 8:48 AM To: rhartman@example.com Subject: Session management bet Apache SOAP and MS SOAP All, I am looking at the proof of concept to see if I can use C# as our = Client and J2EE as our Server. For me to achieve this, I need to = maintain the session information (which is critical). I was reading one of the FAQ's at the apache site and it says this:=20 "Currently MS-Soap and Apache Soap are not interoperable as far as = session maintenance is concerned this is because unlike Apache SOAP, = MS-SOAP does not allow you to set cookies in the HTTP header." I wanted to know if someone has used this in some form to achieve the = above requirement and could suggest me a way out for this. Quick responses would be greatly appreciated. Thanks...AJ From rhartman@example.com Mon Jun 09 21:27:28 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 96852 invoked by uid 500); 9 Jun 2003 21:27:27 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Received: (qmail 96803 invoked from network); 9 Jun 2003 21:27:26 -0000 Date: Mon, 09 Jun 2003 17:28:22 -0400 From: Scott Nichol <rhartman@example.com> Subject: RE: Session management bet Apache SOAP and MS SOAP In-reply-to: <rhartman@example.com> To: rhartman@example.com Message-id: <3EE4C3B6.24059.10BFBA5@localhost> MIME-version: 1.0 X-Mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Priority: normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N <PersonalDiatribe> Why have you waited 3 days for someone else to solve your problem rather than taking the time to investigate it yourself? It took me 10 minutes to find the answer myself. </PersonalDiatribe> I searched MSDN for SOAP HTTP session. Match #7 "Using ASP.NET Session State in a Web Service" (http://msdn.microsoft.com/webservices/building/frameworkandstudio/def ault.aspx?pull=/library/en-us/dnservice/html/service08062002.asp) provides the code you need. Basically, your .NET client code needs to create a System.Net.CookieContainer and associate it with the proxy used for each call. It will store the cookies returned from the servlet container to define the session, then send them in subsequent requests. On 9 Jun 2003 at 14:03, Jindal, Ashwini wrote: > No one has ever used this approach??? Some one would be there in need of this... > > Please provide your useful inputs to this... > > -----Original Message----- > From: Jindal, Ashwini > Sent: Friday, June 06, 2003 8:48 AM > To: rhartman@example.com > Subject: Session management bet Apache SOAP and MS SOAP > > > All, > > I am looking at the proof of concept to see if I can use C# as our Client and J2EE as our Server. For me to achieve this, I need to maintain the session information (which is critical). > > I was reading one of the FAQ's at the apache site and it says this: > > "Currently MS-Soap and Apache Soap are not interoperable as far as session maintenance is concerned this is because unlike Apache SOAP, MS-SOAP does not allow you to set cookies in the HTTP header." > > I wanted to know if someone has used this in some form to achieve the above requirement and could suggest me a way out for this. > > Quick responses would be greatly appreciated. > > Thanks...AJ > Scott Nichol Do not reply directly to this e-mail address, as it is filtered to only receive e-mail from specific mailing lists. From rhartman@example.com Tue Jun 10 15:06:56 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 54388 invoked by uid 500); 10 Jun 2003 15:06:55 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Delivered-To: moderator for rhartman@example.com Received: (qmail 91420 invoked from network); 10 Jun 2003 14:44:46 -0000 Message-ID: <C59B57F38112D311A47A0008C7F33BA102AA87F3@TAMFS11> From: Leif Nilsson TACMa <rhartman@example.com> To: rhartman@example.com Subject: Apache SOAP and hanging SSL connections Date: Tue, 10 Jun 2003 16:43:07 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi! As you all might have seen I'm having difficulty with SSL connections = that simply hangs. Version info etc.. * I use soap nightly build from 2003-05-06=20 (this was introduced in the hope that the=20 added ssl connect timeout support might solve the problem) * Furthermore I use J2sdk version 1.4.1_02 * I set the timeout using SOAPHTTPConnection.setTimeout to one hour. * I use SSL with both client and server certificate As I have caught the situation in a debugger I have seen the following = stack trace: SSLUtils.buildSSLSocket calls SSLSocketImpl.startHandShake() =20 If I set the timeout to on millisecond I don't get any timout from the connection, i.e. SSLUtils.buildSSLSocket works but I get a read timeout later on. Perhaps I can't set it as low as 1 millisecond, i.e. sun might have = some lower boundry for the value but I have neither code nor javadoc (at least not for SSLSocketImpl) for this. Does anyone have any suggestions ? - can I get hold of the sun code for further debugging (not part of = source for j2sdk) Leif Nilsson Software Engineer TAC AB J=E4gershillgatan 18 SE-213 75 Malm=F6, Sweden Direct +1-587-471-5465 Fax +1-587-471-5465 Mobile +1-587-471-5465 www.tac-global.com This email is intended only for the use of the individual or entity to = whom it is addressed. It may contain information that is privileged, = confidential or otherwise protected from disclosure under applicable law. If you = have received this transmission in error, please delete it immediately and = notify me by mailing me. From rhartman@example.com Wed Jun 11 13:50:05 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 45934 invoked by uid 500); 11 Jun 2003 13:50:04 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Delivered-To: moderator for rhartman@example.com Received: (qmail 24638 invoked from network); 11 Jun 2003 03:24:23 -0000 content-class: urn:content-classes:message Subject: Ask for your support about SOAP MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 11 Jun 2003 10:23:54 +0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <rhartman@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Ask for your support about SOAP Thread-Index: AcMvyOJC/85lPQkETL+YRtPMArb3Pw== From: "Tung Tran Thanh" <rhartman@example.com> To: <rhartman@example.com> X-MDRcpt-To: rhartman@example.com X-MDRemoteIP: 83.161.120.155 X-Return-Path: rhartman@example.com X-MDaemon-Deliver-To: rhartman@example.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Dear Sir, I have a problem with SOAP (Apache), so I ask for your support if you = would please. I used the below method in my project: public org.apache.soap.rpc.Response invoke(URL url, String = SOAPActionURI) throws org.apache.soap.SOAPException The problem is "Out Of Memory" if the SOAP server return a large data = (XML Document data). I want to ask you to know: 1. How capacity is return-data ? (means maximum size return-data) 2. How to pass that problem? Thanks for your support. Have a nice day! ThanhTung From rhartman@example.com Wed Jun 11 13:58:06 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 61766 invoked by uid 500); 11 Jun 2003 13:58:04 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Received: (qmail 61736 invoked from network); 11 Jun 2003 13:58:04 -0000 Date: Wed, 11 Jun 2003 10:00:17 -0400 From: Scott Nichol <rhartman@example.com> Subject: Re: Ask for your support about SOAP In-reply-to: <rhartman@example.com> To: Tung Tran Thanh <rhartman@example.com>, rhartman@example.com Message-id: <3EE6FDB1.23284.9BE7619@localhost> MIME-version: 1.0 X-Mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Priority: normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The capacity is determined by the heap size for the JVM in which the code runs. You can adjust the max heap size with a java command-line parameter. The latest release version of Apache SOAP (2.3.1) keeps two copies of the received message in memory at the same time as a full DOM representation. The nightly build keeps a single copy of the message in addition to the DOM. Apache Axis can support HTTP chunking and the SAX API for a much more efficient use of memory when deserializing a message. On 11 Jun 2003 at 10:23, Tung Tran Thanh wrote: > > Dear Sir, > I have a problem with SOAP (Apache), so I ask for your support if you would please. > I used the below method in my project: > > public org.apache.soap.rpc.Response invoke(URL url, String SOAPActionURI) throws org.apache.soap.SOAPException > > The problem is "Out Of Memory" if the SOAP server return a large data (XML Document data). > I want to ask you to know: > > 1. How capacity is return-data ? (means maximum size return-data) > > 2. How to pass that problem? > > Thanks for your support. > Have a nice day! > ThanhTung > > Scott Nichol Do not reply directly to this e-mail address, as it is filtered to only receive e-mail from specific mailing lists. From rhartman@example.com Wed Jun 11 14:38:10 2003 Return-Path: <rhartman@example.com> Delivered-To: rhartman@example.com Received: (qmail 76242 invoked by uid 500); 11 Jun 2003 14:38:09 -0000 Mailing-List: contact rhartman@example.com; run by ezmlm Precedence: bulk Reply-To: rhartman@example.com list-help: <mailto:rhartman@example.com> list-unsubscribe: <mailto:rhartman@example.com> list-post: <mailto:rhartman@example.com> Delivered-To: mailing list rhartman@example.com Received: (qmail 76132 invoked from network); 11 Jun 2003 14:38:07 -0000 To: rhartman@example.com Subject: Receive the error "Attachment tag 'item' .. second request - Pls help MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: <rhartman@example.com> From: rhartman@example.com Date: Wed, 11 Jun 2003 10:38:55 -0400 X-MIMETrack: Serialize by Router on issnotes/ISS(Release 5.0.10 |March 22, 2002) at 06/11/2003 10:38:59 AM, Serialize complete at 06/11/2003 10:38:59 AM Content-Type: multipart/alternative; boundary="=_alternative 0050614F85256D42_=" X-Spam-Status: No, hits=-103.8 required=4.0 tests=AWL,BAYES_01,HOT_NASTY,HTML_50_60,NO_REAL_NAME, USER_IN_WHITELIST version=2.53 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53 (83.161.120.155-2003-03-30-exp) X-Spam-Checker-Version: SpamAssassin 2.53 (83.161.120.155-2003-03-30-exp) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 0050614F85256D42_= Content-Type: text/plain; charset="us-ascii" Here is the original post --------------------------------------Start Original post--------------------------------------------------------------------------- My soap client recives the error Attachment tag "item" refers to a Mime attachment with label "cid:12568800.1054615058828.apache-soap.%B1%E8%C8%F1%C1%A4102179" which could not be found. The SOAP Client is sending a Vector that consists of 3 elements File Name Checksum for the file DataHandler for the file Here is the relevant code: String encodingStyleURI = Constants.NS_URI_SOAP_ENC; URL url; SOAPMappingRegistry smr = new SOAPMappingRegistry(); Vector params; Response resp = null; Parameter ret = null; XferResponse myResp = new XferResponse(); try { url = new URL(targetURL); } catch (Exception e) { /* System.err.println ("Caught exception " + e); System.err.print ("while connecting to " + targetURL); System.err.print (" remoteURI = " + remoteURI); System.err.println (" remoteMethod = " + methodName); */ myResp.errorCode = 1; myResp.errorMessage = e.getMessage(); return (myResp); } if (parmVector.size() > 0) { params = new Vector(); params.addElement(new Parameter("test", java.util.Vector.class, parmVector, encodingStyleURI)); Call call = new Call(); call.setSOAPMappingRegistry(smr); call.setTargetObjectURI(remoteURI); call.setMethodName(methodName); call.setEncodingStyleURI(encodingStyleURI); call.setParams(params); try { resp = call.invoke(url, ""); } catch (SOAPException e) { System.err.println("Caught SOAPException (" + e.getFaultCode() + "): " + e.getMessage()); e.printStackTrace(); myResp.errorCode = 32; myResp.errorMessage = e.getMessage(); return (myResp); } // Check the response. if (!resp.generatedFault()) { ret = resp.getReturnValue(); if(ret == null){ myResp.errorCode = 33; myResp.errorMessage = "No return value from call."; } else { //System.err.println("Response: " + resp); // printObject(ret.getValue()); myResp.errorCode = 0; } myResp.retParm = ret; } else { Fault fault = resp.getFault(); System.err.println("Generated fault: "); System.err.println (" Fault Code = " + fault.getFaultCode()); System.err.println (" Fault String = " + fault.getFaultString()); myResp.errorCode = 1; myResp.errorMessage = fault.getFaultString(); } } return (myResp); } --------------------------------------------------------------------------------------- Since then, I have tried to force the character encoding to UTF 8 on the client using: (and replacing the Call initializer) ctx = new SOAPContext(); try { ctx.setRootPart ("X", "text/xml; charset=utf-8"); } catch (Exception xxx) { xxx.printStackTrace(); myResp.errorCode = 99; myResp.errorMessage = "Unable to set charset to utf-8"; return (myResp); } /* Call call = new Call(); call.setSOAPMappingRegistry(smr); call.setTargetObjectURI(remoteURI); call.setMethodName(methodName); call.setEncodingStyleURI(encodingStyleURI); call.setParams(params); */ Call call = new Call (remoteURI, methodName, params, null, encodingStyleURI, ctx); This code (either form) works in the US. Problem occurs in Korea OS Is Windows XP for SOAP Client SOAP/Tomcat runs as a service on Windows XP Any and all help greatly appreciated. Thanks Komal --=_alternative 0050614F85256D42_= Content-Type: text/html; charset="us-ascii" <br><font size=2 face="sans-serif">Here is the original post</font> <br> <br><font size=2 face="sans-serif">--------------------------------------Start Original post---------------------------------------------------------------------------</font> <br><font size=2 face="sans-serif">My soap client recives the error </font><font size=3 face="Times New Roman"><br> </font><font size=2 face="sans-serif"><br> Attachment tag &quot;item&quot; refers to a Mime attachment with label &quot;cid:12568800.1054615058828.apache-soap.%B1%E8%C8%F1%C1%A4102179&quot; which could not be found.</font><font size=3 face="Times New Roman"> <br> <br> </font><font size=2 face="sans-serif"><br> The SOAP Client is sending a Vector that consists of 3 elements</font><font size=3 face="Times New Roman"> <br> </font><font size=2 face="sans-serif"><br> File Name</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> Checksum for the file</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> DataHandler for the file </font><font size=3 face="Times New Roman"><br> </font><font size=2 face="sans-serif"><br> Here is the relevant code:</font><font size=3 face="Times New Roman"> <br> <br> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;String encodingStyleURI = Constants.NS_URI_SOAP_ENC;</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;URL url;</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SOAPMappingRegistry smr = new SOAPMappingRegistry();</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Vector params;</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Response resp = null;</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Parameter ret = null;</font><font size=3 face="Times New Roman"> <br> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XferResponse myResp = new XferResponse();</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;try {</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;url = new URL(targetURL);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;catch (Exception e) {</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/*</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.err.println (&quot;Caught exception &quot; + e);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.err.print (&quot;while connecting to &quot; + targetURL);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.err.print (&quot; remoteURI = &quot; + remoteURI);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.err.println (&quot; remoteMethod = &nbsp;&quot; + methodName);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myResp.errorCode = 1;</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myResp.errorMessage = e.getMessage();</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return (myResp);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</font><font size=3 face="Times New Roman"> <br> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (parmVector.size() &gt; 0) {</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;params = new Vector();</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;params.addElement(new Parameter(&quot;test&quot;, <br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;java.util.Vector.class,</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; parmVector, encodingStyleURI));</font><font size=3 face="Times New Roman"> <br> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Call call = new Call();</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;call.setSOAPMappingRegistry(smr);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;call.setTargetObjectURI(remoteURI);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;call.setMethodName(methodName);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;call.setEncodingStyleURI(encodingStyleURI);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;call.setParams(params);</font><font size=3 face="Times New Roman"> <br> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;try {</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;resp = call.invoke(url, &quot;&quot;);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;} catch (SOAPException e) {</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.err.println(&quot;Caught SOAPException (&quot; +</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;e.getFaultCode() + &quot;): &quot; +</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;e.getMessage());</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;e.printStackTrace();</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myResp.errorCode = 32;</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myResp.errorMessage = e.getMessage();</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return (myResp);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</font><font size=3 face="Times New Roman"> <br> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Check the response.</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (!resp.generatedFault()) {</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ret = resp.getReturnValue();</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(ret == null){</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myResp.errorCode = 33;</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myResp.errorMessage = &quot;No return value from call.&quot;;</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else &nbsp;{</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//System.err.println(&quot;Response: &quot; + resp);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// printObject(ret.getValue());</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myResp.errorCode = 0;</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myResp.retParm = ret;</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;} else {</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Fault fault = resp.getFault();</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.err.println(&quot;Generated fault: &quot;);</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.err.println (&quot; &nbsp;Fault Code &nbsp; = &quot; + fault.getFaultCode());</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.err.println (&quot; &nbsp;Fault String = &quot; + fault.getFaultString());</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myResp.errorCode = 1;</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myResp.errorMessage = fault.getFaultString();</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return (myResp);</font><font size=3 face="Times New Roman"> <br> </font><font size=2 face="sans-serif"><br> &nbsp; &nbsp; &nbsp; &nbsp;}</font><font size=3 face="Times New Roman"> <br> <br> ---------------------------------------------------------------------------------------</font> <br> <br><font size=2 face="sans-serif">Since then, I have tried to force the character encoding to UTF 8 on the client using:</font> <br> <br><font size=2 face="sans-serif">(and replacing the Call initializer)</font> <br> <br> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ctx = new SOAPContext();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try {</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ctx.setRootPart (&quot;X&quot;, &quot;text/xml; charset=utf-8&quot;);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; catch (Exception xxx) {</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xxx.printStackTrace();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myResp.errorCode = 99;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myResp.errorMessage = &quot;Unable to set charset to utf-8&quot;;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return (myResp);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /*</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Call call = new Call();</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; call.setSOAPMappingRegistry(smr);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; call.setTargetObjectURI(remoteURI);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; call.setMethodName(methodName);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; call.setEncodingStyleURI(encodingStyleURI);</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
{'source': 'Apache Software Foundation Public Mail Archives'}