From carlavasquez@example.net Thu Mar 1 00:17:14 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 83879 invoked from network); 1 Mar 2001 00:17:14 -0000 Received: from unknown (HELO ex01.grvt8.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 00:17:14 -0000 Received: by ex01.grvt8.com with Internet Mail Service (5.5.2650.21) id <FJ1S0TJB>; Wed, 28 Feb 2001 16:15:41 -0800 Message-ID: <carlavasquez@example.net> From: Geoff Hendrey <carlavasquez@example.net> To: 'Erik van Zijst' <carlavasquez@example.net> Cc: "'carlavasquez@example.net'" <carlavasquez@example.net> Subject: RE: Serializing inherited classes in SOAP Date: Wed, 28 Feb 2001 16:15:31 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I have not used the 2.1 apache soap yet (still on 2.0). Damn, I am really hoping the developers of the package will solve this problem but from your posts the problem clearly still exists. Maybe we should start making some noise on the other group. I would like to get a response from somebody on the "inside". This seems like pretty serious bug in the implementation. ***** GRAVITATE IS ON THE MOVE **** PLEASE NOTE OUR NEW ADDRESS **** THANK YOU! ***** Gravitate Inc. 713 Linden Avenue, Suite B South San Francisco, CA 94080 ============================================================== Geoff Hendrey, CTO Gravitate Inc., www.gravitate-usa.com cell(442)693-5651 work(442)693-5651 fax(442)693-5651 ============================================================== -----Original Message----- From: Erik van Zijst [mailto:carlavasquez@example.net] Sent: Monday, February 26, 2001 1:37 AM To: Geoff Hendrey Subject: Serializing inherited classes in SOAP Geoff, I started the thread "Serializing inherited classes" on carlavasquez@example.net last week and read your similar post "a fundamental limitation?" of February 22. I was wondering if you'd gotten any further on the subject? Looks like we're stuck with the same problem, I was hoping you'd found an answer. Erik van Zijst -- Kissing a smoker is like licking an ashtray. From carlavasquez@example.net Thu Mar 1 00:30:18 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 95851 invoked from network); 1 Mar 2001 00:30:18 -0000 Received: from renown.concentric.net (HELO renown.cnchost.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 00:30:18 -0000 Received: from MESAVERDE ([83.161.120.155]) by renown.cnchost.com id TAA19281; Wed, 28 Feb 2001 19:30:22 -0500 (EST) [ConcentricHost SMTP Relay 1.10] Errors-To: <carlavasquez@example.net> From: "Nick Uychaco" <carlavasquez@example.net> To: <carlavasquez@example.net> Subject: RE: any gotcha's using classes with lists or vectors Date: Wed, 28 Feb 2001 16:35:36 -0800 Message-ID: <carlavasquez@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <01c101c0a184$488b0800$0b00a8c0@gamebox> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N thanks glen, i modified address to include a vector and an array. i keep getting a null pointer when i try to access them from the client, say getaddress. by adding a vector or an array, do i need to modify the deploymentdescriptor as well? if so do you know what i need to add? thanks -----Original Message----- From: Glen Daniels [mailto:carlavasquez@example.net] Sent: Wednesday, February 28, 2001 4:45 AM To: carlavasquez@example.net Subject: Re: any gotcha's using classes with lists or vectors Actually, Vectors are considered a "basic type" by the Apache SOAP engine, and are already handled for you in the same way as Strings, Integers, etc... We don't deal with Lists yet, just Vectors and Enumerations. However, the (assumedly custom) class which contains the Vector will probably need a new Serializer/Deserializer and a TypeMapping. --Glen ----- Original Message ----- From: "Krell, Louis" <carlavasquez@example.net> To: <carlavasquez@example.net> Sent: Wednesday, February 28, 2001 7:13 AM Subject: RE: any gotcha's using classes with lists or vectors > I haven't personally sent vectors, but my guess is that once they are put > into a class, use the class the same way that the Addressbook example uses > Address and PhoneNumber. Once you have set up a class, put in into the > TypeMappings section of the DeploymentDescriptor, same as the Address and > PhoneNumber. > > Louis > > -----Original Message----- > From: Nick Uychaco [mailto:carlavasquez@example.net] > Sent: Tuesday, February 27, 2001 8:18 PM > To: carlavasquez@example.net > Subject: any gotcha's using classes with lists or vectors > > > > i'm considering using soap seriously in my project which has to be finished > in a month. > > examples seem to work (need documentation badly!). > > Can I send classes which have collections and vectors in them? examples > didn't show this case? If yes how? thanks. > > > ----------------------------------------------------------------- > Visit our Internet site at http://www.reuters.com > > Any views expressed in this message are those of the individual > sender, except where the sender specifically states them to be > the views of Reuters Ltd. > From carlavasquez@example.net Thu Mar 1 00:32:23 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 97412 invoked from network); 1 Mar 2001 00:32:23 -0000 Received: from renown.concentric.net (HELO renown.cnchost.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 00:32:23 -0000 Received: from MESAVERDE ([83.161.120.155]) by renown.cnchost.com id TAA21385; Wed, 28 Feb 2001 19:32:27 -0500 (EST) [ConcentricHost SMTP Relay 1.10] Errors-To: <carlavasquez@example.net> From: "Nick Uychaco" <carlavasquez@example.net> To: <carlavasquez@example.net> Subject: RE: any gotcha's using classes with lists or vectors Date: Wed, 28 Feb 2001 16:37:41 -0800 Message-ID: <carlavasquez@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C0A1A4.C4F0D580" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <carlavasquez@example.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C0A1A4.C4F0D580 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit thanks bob, i modified address to include a vector and an array. i keep getting a null pointer when i try to access them from the client, say getaddress. by adding a vector or an array, do i need to modify the deploymentdescriptor as well? if so do you know what i need to add? thanks -----Original Message----- From: carlavasquez@example.net [mailto:carlavasquez@example.net] Sent: Wednesday, February 28, 2001 6:52 AM To: carlavasquez@example.net Subject: Re: any gotcha's using classes with lists or vectors I haven't tried with Vectors yet, but Beans that contain an array of another Bean type can be sent without problems. Just be sure that you declare both types (the container Bean and the contained Bean) in your type mappings using the 'BeanSerializer' . For example, an instance of 'ProductList' maintains an array of 'Product' instances. Both 'ProductList' and 'Product' must be declared using the 'BeanSerializer'. Bob Moore, digitalESP @ Sent by: "Glen Daniels" <carlavasquez@example.net> 02/28/2001 07:45 AM Please respond to soap-user To: <carlavasquez@example.net> cc: bcc: Bob Moore/digitalesp Subject: Re: any gotcha's using classes with lists or vectors Actually, Vectors are considered a "basic type" by the Apache SOAP engine, and are already handled for you in the same way as Strings, Integers, etc... We don't deal with Lists yet, just Vectors and Enumerations. However, the (assumedly custom) class which contains the Vector will probably need a new Serializer/Deserializer and a TypeMapping. --Glen ----- Original Message ----- From: "Krell, Louis" <carlavasquez@example.net> To: <carlavasquez@example.net> Sent: Wednesday, February 28, 2001 7:13 AM Subject: RE: any gotcha's using classes with lists or vectors > I haven't personally sent vectors, but my guess is that once they are put > into a class, use the class the same way that the Addressbook example uses > Address and PhoneNumber. Once you have set up a class, put in into the > TypeMappings section of the DeploymentDescriptor, same as the Address and > PhoneNumber. > > Louis > > -----Original Message----- > From: Nick Uychaco [mailto:carlavasquez@example.net] > Sent: Tuesday, February 27, 2001 8:18 PM > To: carlavasquez@example.net > Subject: any gotcha's using classes with lists or vectors > > > > i'm considering using soap seriously in my project which has to be finished > in a month. > > examples seem to work (need documentation badly!). > > Can I send classes which have collections and vectors in them? examples > didn't show this case? If yes how? thanks. > > > ----------------------------------------------------------------- > Visit our Internet site at http://www.reuters.com > > Any views expressed in this message are those of the individual > sender, except where the sender specifically states them to be > the views of Reuters Ltd. > ------=_NextPart_000_000D_01C0A1A4.C4F0D580 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 content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR></HEAD> <BODY> <DIV> <P><FONT size=3D2>thanks&nbsp;<SPAN=20 class=3D577183700-01032001>bob</SPAN>,</FONT></P> <P><FONT size=3D2>i modified address to include a vector and an = array.</FONT></P> <P><FONT size=3D2>i keep getting a null pointer when i try to access = them from the=20 client, say getaddress.</FONT></P> <P><FONT size=3D2>by adding a vector or an array, do i need to modify = the=20 deploymentdescriptor as well? if so do you know what i need to add?=20 thanks</FONT></P></DIV> <BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px"> <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT = face=3DTahoma=20 size=3D2>-----Original Message-----<BR><B>From:</B> = carlavasquez@example.net=20 [mailto:carlavasquez@example.net]<BR><B>Sent:</B> Wednesday, February 28, = 2001 6:52=20 AM<BR><B>To:</B> carlavasquez@example.net<BR><B>Subject:</B> Re: any = gotcha's=20 using classes with lists or vectors<BR><BR></DIV></FONT> <P>I haven't tried with Vectors yet, but Beans that contain an array = of=20 another Bean type can be sent without problems. Just be sure that you = declare=20 both types (the container Bean and the contained Bean) in your type = mappings=20 using the 'BeanSerializer' .</P> <P>For example, an instance of 'ProductList' maintains an array of = 'Product'=20 instances. Both 'ProductList' and 'Product' must be declared using the = 'BeanSerializer'.</P> <P>Bob Moore, digitalESP<BR><BR><FONT = size=3D2><B>@</B></FONT><BR><FONT=20 size=3D2>Sent by: "Glen Daniels" = &lt;carlavasquez@example.net&gt;</FONT><BR><FONT=20 size=3D2>02/28/2001 07:45 AM</FONT><BR><FONT size=3D2>Please respond = to=20 soap-user</FONT><BR><BR><FONT size=3D2>To:</FONT> <FONT=20 size=3D2>&lt;carlavasquez@example.net&gt;</FONT><BR><FONT = size=3D2>cc:</FONT>=20 <BR><FONT size=3D2>bcc:</FONT> <FONT size=3D2>Bob = Moore/digitalesp</FONT><BR><FONT=20 size=3D2>Subject:</FONT> <FONT size=3D2>Re: any gotcha's using classes = with lists=20 or vectors</FONT><BR><BR><BR></P> <P><FONT face=3DMonospace,Courier>Actually, Vectors are considered a = "basic=20 type" by the Apache SOAP engine,<BR>and are already handled for you in = the=20 same way as Strings, Integers, etc...<BR>We don't deal with Lists yet, = just=20 Vectors and Enumerations.<BR></FONT><BR><FONT = face=3DMonospace,Courier>However,=20 the (assumedly custom) class which contains the Vector = will<BR>probably need a=20 new Serializer/Deserializer and a TypeMapping.<BR></FONT><BR><FONT=20 face=3DMonospace,Courier>--Glen<BR></FONT><BR><FONT = face=3DMonospace,Courier>-----=20 Original Message -----<BR>From: "Krell, Louis"=20 &lt;carlavasquez@example.net&gt;<BR>To:=20 &lt;carlavasquez@example.net&gt;<BR>Sent: Wednesday, February 28, 2001 = 7:13=20 AM<BR>Subject: RE: any gotcha's using classes with lists or=20 vectors<BR></FONT><BR><BR><FONT face=3DMonospace,Courier>&gt; I = haven't=20 personally sent vectors, but my guess is that once they are = put<BR>&gt; into a=20 class, use the class the same way that the Addressbook example = uses<BR>&gt;=20 Address and PhoneNumber. &nbsp;Once you have set up a class, put in = into=20 the<BR>&gt; TypeMappings section of the DeploymentDescriptor, same as = the=20 Address and<BR>&gt; PhoneNumber.<BR>&gt;<BR>&gt; Louis<BR>&gt;<BR>&gt; = -----Original Message-----<BR>&gt; From: Nick Uychaco=20 [mailto:carlavasquez@example.net]<BR>&gt; Sent: Tuesday, February 27, = 2001 8:18=20 PM<BR>&gt; To: carlavasquez@example.net<BR>&gt; Subject: any gotcha's = using=20 classes with lists or vectors<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; i'm = considering=20 using soap seriously in my project which has to be<BR>finished<BR>&gt; = in a=20 month.<BR>&gt;<BR>&gt; examples seem to work (need documentation=20 badly!).<BR>&gt;<BR>&gt; Can I send classes which have collections and = vectors=20 in them? examples<BR>&gt; didn't show this case? If yes how?=20 thanks.<BR>&gt;<BR>&gt;<BR>&gt;=20 = -----------------------------------------------------------------<BR>&gt;= =20 &nbsp; &nbsp; &nbsp; &nbsp; Visit our Internet site at <A=20 = href=3D"http://www.reuters.com">http://www.reuters.com</A><BR>&gt;<BR>&gt= ; Any=20 views expressed in this message are those of &nbsp;the=20 &nbsp;individual<BR>&gt; sender, &nbsp;except &nbsp;where &nbsp;the = sender=20 specifically states them to be<BR>&gt; the views of Reuters=20 Ltd.<BR>&gt;</FONT><BR></P></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_000D_01C0A1A4.C4F0D580-- From carlavasquez@example.net Thu Mar 1 00:41:51 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 5963 invoked from network); 1 Mar 2001 00:41:51 -0000 Received: from amber.he.net (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 00:41:51 -0000 Received: from c1273550a (c1273550-a.shrdn1.wy.home.com [83.161.120.155]) by amber.he.net (8.8.6/8.8.2) with SMTP id QAA19045 for <carlavasquez@example.net>; Wed, 28 Feb 2001 16:42:03 -0800 Message-ID: <carlavasquez@example.net> Reply-To: "James Yegerlehner" <carlavasquez@example.net> From: "James Yegerlehner" <carlavasquez@example.net> To: <carlavasquez@example.net> References: <18CA5F18BBBBD21180E500A0C9ED0CFA7D2236@CBEXCH> <carlavasquez@example.net> Subject: Re: Generating WSDL for Apache-SOAP services Date: Wed, 28 Feb 2001 17:36:50 -0700 Organization: Kamiak Corp. 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.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ----- Original Message ----- From: "Erik van Zijst" <carlavasquez@example.net> > They sure do, but what about my serializers? How can the WSTK (ibm) know what > the resulting xml will be after my serializer is done by just looking at the > signatures of classes? > So how can it write a type definition of the objects that travel over the > wire? Perhaps this is a good reason to author the service signatures as WSDL and schema first, and then generate the service skeletons and client stubs from that using the WSTK. From carlavasquez@example.net Thu Mar 1 02:25:06 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 80625 invoked from network); 1 Mar 2001 02:25:06 -0000 Received: from renown.concentric.net (HELO renown.cnchost.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 02:25:06 -0000 Received: from MESAVERDE ([83.161.120.155]) by renown.cnchost.com id VAA11431; Wed, 28 Feb 2001 21:25:11 -0500 (EST) [ConcentricHost SMTP Relay 1.10] Errors-To: <carlavasquez@example.net> From: "Nick Uychaco" <carlavasquez@example.net> To: <carlavasquez@example.net> Subject: will this work on linux Date: Wed, 28 Feb 2001 18:30:25 -0800 Message-ID: <carlavasquez@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N i'm a linux newbie. i need to deploy my soap app on linux redhat 6.2. do you know if soap and other supporting java libraries work on linux? thanks From carlavasquez@example.net Thu Mar 1 03:06:28 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 7336 invoked from network); 1 Mar 2001 03:06:28 -0000 Received: from ns3.linuxwebnet.com (HELO linuxwebnet.com) (carlavasquez@example.net) by h31.sny.collab.net with SMTP; 1 Mar 2001 03:06:28 -0000 Received: (qmail 9580 invoked from network); 1 Mar 2001 03:00:14 -0000 Received: from unknown (HELO VAIO) (83.161.120.155) by ns3.linuxwebnet.com with SMTP; 1 Mar 2001 03:00:14 -0000 Message-ID: <027801c0a1fc$21ed6350$87b0200a@VAIO> From: "Filip Hanik" <carlavasquez@example.net> To: <carlavasquez@example.net> References: <carlavasquez@example.net> Subject: Re: will this work on linux Date: Wed, 28 Feb 2001 19:02:33 -0800 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.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N beauty of java, platform independent :) yes it will work Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect carlavasquez@example.net www.filip.net ----- Original Message ----- From: "Nick Uychaco" <carlavasquez@example.net> To: <carlavasquez@example.net> Sent: Wednesday, February 28, 2001 6:30 PM Subject: will this work on linux > > i'm a linux newbie. i need to deploy my soap app on linux redhat 6.2. do you > know if soap and other supporting java libraries work on linux? thanks > > From carlavasquez@example.net Thu Mar 1 08:56:44 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 9712 invoked from network); 1 Mar 2001 08:56:44 -0000 Received: from host217-32-125-19.hg.mdip.bt.net (HELO domserv.synergy-fs.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 08:56:44 -0000 Received: by DOMSERV with Internet Mail Service (5.5.2650.21) id <F5GNHQJ5>; Thu, 1 Mar 2001 09:02:12 -0000 Message-ID: <6565B06C4C6BD311B15F0090279363880A704C@DOMSERV> From: Anthony Dodd <carlavasquez@example.net> To: "'carlavasquez@example.net'" <carlavasquez@example.net> Subject: RE: Apache within applet under IE 5.x WITHOUT plug-in? Date: Thu, 1 Mar 2001 09:02:10 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi I got Apache SOAP V2.0 to run as an applet, but had problems implementing session tracking, any body got any solutions. Regards Tony -----Original Message----- From: Rob Oaks [mailto:carlavasquez@example.net] Sent: 28 February 2001 21:17 To: 'carlavasquez@example.net' Subject: RE: Apache within applet under IE 5.x WITHOUT plug-in? I don't reference the other JARs in the archive tag because Jbuilder adds all the dependent classes to the JAR it creates. The resulting JAR is about 800K, but at least it has everything in one place. I realize that I could also do things the way you've suggested by excluding the mail/xerces/soap classes from the JAR and then adding them to the archive tag but I can't see why this would be REQUIRED. Rob Oaks (442)693-5651 carlavasquez@example.net -----Original Message----- From: Fabio Di Fabio [mailto:carlavasquez@example.net] Sent: Wednesday, February 28, 2001 4:06 PM To: carlavasquez@example.net Subject: Re: Apache within applet under IE 5.x WITHOUT carlavasquez@example.net 28/02/2001 -0500, you wrote: >All: > >I wondered if anyone has had any experience running Apache SOAP within an >applet under Internet Explorer 5.x without using the Java plug-in? >Everything works fine in the IDE (Jbuilder 3), but the Java console within >Internet Explorer reports >Exception occurred during event dispatching: >java.lang.NoClassDefFoundError: javax/mail/internet/MimeBodyPart > at org/apache/soap/encoding/SOAPMappingRegistry.class$ >(SOAPMappingRegistry.java:81) at >org/apache/soap/encoding/SOAPMappingRegistry.<init> >(SOAPMappingRegistry.java:132) > . do you set the "mail.jar" in the archive tag of the applet? You have also to add the xerces.jar and the activation.jar and the soap.jar, I've done this but then I got a security exception when SOAP try to read the user.name properties. Please let me know if you'll have success. ciao, Fabio. From carlavasquez@example.net Thu Mar 1 09:23:53 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 41501 invoked from network); 1 Mar 2001 09:23:53 -0000 Received: from threshold3.jpmorgan.com (HELO jpmorgan.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 09:23:53 -0000 Received: (from uucp@localhost) by jpmorgan.com (8.8.5/8.8.5) id EAA02503 for <carlavasquez@example.net>; Thu, 1 Mar 2001 04:23:49 -0500 (EST) Received: from jpmmailhost4.ny.jpmorgan.com(83.161.120.155) by threshold3.jpmorgan.com via smap (V4.2) id xma002497; Thu, 1 Mar 01 04:23:48 -0500 Received: from nyc-ntgw-n01.ny.jpmorgan.com (nyc_smtpmta_02.ny.jpmorgan.com [83.161.120.155]) by jpmmailhost4.ny.jpmorgan.com (8.9.1a/8.9.1) with SMTP id EAA13277 for <carlavasquez@example.net>; Thu, 1 Mar 2001 04:23:47 -0500 (EST) Received: by nyc-ntgw-n01.ny.jpmorgan.com(Lotus SMTP MTA v4.6.4 (830.2 3-23-1999)) id 85256A02.00339A07 ; Thu, 1 Mar 2001 04:23:37 -0500 X-Lotus-FromDomain: JPMORGAN@SMTP From: "Nicholas Quaine" <carlavasquez@example.net> To: carlavasquez@example.net Message-ID: <carlavasquez@example.net> Date: Thu, 1 Mar 2001 10:23:35 +0100 Subject: RE: How to communicate between Apache-SOAP and MSSOAP Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N saying that the apache and ms implementations of wsdl are incompatible is misleading at best when you employ a wsdl on the client side (using ms soap toolkit) it produces soap requests that can be received and processed by apache soap server without the server side knowing about the contents of the wsdl file or even knowing that the requests were generated using a wsdl file. It simply doesn't care. It must be said though that there are issues with the soap envelopes that are produced using this method and having them understood by apache. I have come across the following issues... [ Note that my system architecture is as follows : visual basic client using the high level API of ms apache soap toolkit 2.0 beta 1 running under NT4 and exploiting a wsdl file talking to an apache soap 2.1 service running under a tomcat 3.2.1 server on solaris 2.6 ] 1. ensure that your WSDL file specifies UTF-8 encoding - ie. first line should be : <?xml version="1.0" encoding="UTF-8"?> rather than UTF-16 as you see in some wsdl file examples 2. the classic obstacle to ms-apache interop is the xsi:type problem. The MS high level API does not put xsi:type into the request. Apache soap 2.1 has the functionality to get around this (so you cannot use apache soap 2.0) - the way to exploit this is described in Sanjiva's change comments available here http://marc.theaimsgroup.com/?l=soap-dev&m=97901982213396&w=2 (you basically need to make some additional entries in your deployment descriptor for the primitives and deploy) 3. Apache will put "Content-Type: text/xml; charset=utf-8" in the response packet. But microsoft will only want to see "Content-Type: text/xml" if you are using the high level API (note that this is not a problem if using the low level API). You will need to put a hack into the apache code or into a tcp/ip tunnel to remove this from the response packet. Microsoft acknowledges this as a bug and have said that a fix will be present in MS SOAP Toolkit 2.0 beta 2 (promised for mid March). with all this you should be able to get soap calls using primitives as call paramater and return types note that arrays and structs as parameter call and return are AFAIK not supported by microsoft in the high level API until MS SOAP Toolkit 2.0 beta 2 (available mid-march) regards, Nick carlavasquez@example.net on 02/28/2001 03:55:06 PM Please respond to carlavasquez@example.net To: carlavasquez@example.net cc: (bcc: Nicholas Quaine) Subject: RE: How to communicate between Apache-SOAP and MSSOAP.(stock quot e service) More like incompatible at this time. But I don't really know the details. This stuff is all pretty new and interoperability seems to be an issue. Rick -----Original Message----- From: Khondker Akhter [mailto:carlavasquez@example.net] Sent: Wednesday, February 28, 2001 2:53 PM To: carlavasquez@example.net Subject: Re: How to communicate between Apache-SOAP and MSSOAP.(stock quote service) so apache implementation of wsdl and ms soap implementation are different?? "Hansen, Richard" wrote: I have only used the low level API. I don't think the current version of MS Soap handles Apache WSDL. Rick > -----Original Message----- > From: Khondker Akhter [ mailto:carlavasquez@example.net <mailto:carlavasquez@example.net> ] > Sent: Wednesday, February 28, 2001 2:39 PM > To: carlavasquez@example.net > Subject: Re: How to communicate between Apache-SOAP and MSSOAP.(stock > quote service) > > > here is what i am trying to do: > > run the StockQuoteService in tomcat/apache (works) > access the service from an thin vb client: > > *********************************************************** > vb client888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 > > Private Sub Form_Load() > Dim symbol As String > Const WDSL_URL As String = > " http://mgfrm65:8181/services/StockQuoteService.wsdl <http://mgfrm65:8181/services/StockQuoteService.wsdl> " > 'Const name = " urn:xmltoday-delayed-quotes <urn:xmltoday-delayed-quotes> " > symbolTB.Text = "IBM" > End Sub > > Private Sub getQuoteCB_Click() > Dim ret As Variant > Dim sc As New MSSOAPLib.SoapClient > 'Dim sc As Object > 'Set sc = CreateObject("MSSOAP.SoapClient") > > On Error GoTo do_err > symbol = symbolTB.Text > quoteL.Caption = symbol > Call > sc.mssoapinit(" http://mgfrm65:8181/services/StockQuoteService.wsdl <http://mgfrm65:8181/services/StockQuoteService.wsdl> ", _ > "StockQuoteService", _ > "StockQuotePort") > ret = sc.getQuote(symbol) > quoteL = ret > do_cont: > Exit Sub > do_err: > MsgBox Err & ": " & Error$ > MsgBox sc.faultactor & vbCrLf & _ > sc.faultcode & vbCrLf & _ > sc.faultstring > > End Sub > > Private Sub quitB_Click() > Unload Me > End Sub > *********************************************************** > > *********************************************************** > the code for the StockQuoteService.wsdl is: > <?xml version="1.0"?> > > <definitions name="StockQuoteService" > targetNamespace=" urn:xmltoday-delayed-quotes <urn:xmltoday-delayed-quotes> " > xmlns:tns=" urn:xmltoday-delayed-quotes <urn:xmltoday-delayed-quotes> " > xmlns=" http://schemas.xmlsoap.org/wsdl/ <http://schemas.xmlsoap.org/wsdl/> " > xmlns:xsd=" http://www.w3.org/1999/XMLSchema <http://www.w3.org/1999/XMLSchema> " > xmlns:soap=" http://schemas.xmlsoap.org/wsdl/soap/ <http://schemas.xmlsoap.org/wsdl/soap/> "> > > <message name="getQuoteInput"> > <part name="symbol" type="xsd:string"/> > </message> > > <message name="getQuoteOutput"> > <part name="quote" type="xsd:float"/> > </message> > > <portType name="GetQuote"> > <operation name="getQuote"> > <input message="getQuoteInput"/> > <output message="getQuoteOutput"/> > </operation> > </portType> > > <binding name="GetQuoteSoapBinding" type="GetQuote"> > <soap:binding style="rpc" > transport=" http://schemas.xmlsoap.org/soap/http"/ <http://schemas.xmlsoap.org/soap/http> > > <operation name="getQuote"> > <soap:operation soapAction=""/> > <input> > <soap:body use="encoded" > > encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/ <http://schemas.xmlsoap.org/soap/encoding/> > > http://www.ibm.com/namespaces/xmi <http://www.ibm.com/namespaces/xmi> " > namespace=" urn:xmltoday-delayed-quotes"/ <urn:xmltoday-delayed-quotes> > > </input> > <output> > <soap:body use="encoded" > > encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/ <http://schemas.xmlsoap.org/soap/encoding/> > http://www.ibm.com/namespaces/xmi <http://www.ibm.com/namespaces/xmi> " namespace=" urn:xmltoday-delayed-quotes"/ <urn:xmltoday-delayed-quotes> > </output> </operation> </binding> <service name="StockQuoteService"> <port name="StockQuotePort" binding="GetQuoteSoapBinding"> <soap:address location=" http://mgfrm65:8181/soap/servlet/rpcrouter"/ <http://mgfrm65:8181/soap/servlet/rpcrouter> > </port> </service> </definitions> *********************************************************** when i run my client and response from the server is : HTTP/1.0 400 Bad Request Content-Length: 536 Date: Wed, 28 Feb 2001 20:28:16 GMT Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java 1.2.2; SunOS 5.5.1 sparc; java.vendor=Sun Microsystems Inc.) Set-Cookie: JSESSIONID=To1019mC8478576703846645At;Path=/soap Set-Cookie2: JSESSIONID=To1019mC8478576703846645At;Version=1;Discard;Path="/soap" Content-Language: en Content-Type: text/xml; charset=utf-8 Status: 400 <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV=" http://schemas.xmlsoap.org/soap/envelope/ <http://schemas.xmlsoap.org/soap/envelope/> " xmlns:xsi=" http://www.w3.org/1999/XMLSchema-instance <http://www.w3.org/1999/XMLSchema-instance> " xmlns:xsd=" http://www.w3.org/1999/XMLSchema <http://www.w3.org/1999/XMLSchema> "> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>SOAP-ENV:Client</faultcode> <faultstring>No Deserializer found to deserialize a ':symbol' using encoding style ' http://schemas.xmlsoap.org/soap/encoding/ <http://schemas.xmlsoap.org/soap/encoding/> '.</faultstring> <faultactor>/soap/servlet/rpcrouter</faultactor> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> *********************************************************** what does this mean?? This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan Chase & Co., its subsidiaries and affiliates. From carlavasquez@example.net Thu Mar 1 09:43:28 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 53282 invoked from network); 1 Mar 2001 09:43:28 -0000 Received: from bramg1.net.external.hp.com (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 09:43:28 -0000 Received: from quasit.br.itc.hp.com (quasit.br.itc.hp.com [83.161.120.155]) by bramg1.net.external.hp.com (Postfix) with ESMTP id 9A727116 for <carlavasquez@example.net>; Thu, 1 Mar 2001 10:43:26 +0100 (MET) Received: from fowey.BR.ITC.HP.COM (fowey.br.itc.hp.com [83.161.120.155]) by quasit.br.itc.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit6.0.6 OpenMail) with SMTP id JAA05224 for <carlavasquez@example.net>; Thu, 1 Mar 2001 09:43:26 GMT Received: from 83.161.120.155 by fowey.BR.ITC.HP.COM (InterScan E-Mail VirusWall NT); Thu, 01 Mar 2001 10:43:25 +0100 (W. Europe Standard Time) Received: by fowey.br.itc.hp.com with Internet Mail Service (5.5.2650.21) id <F62FSRXM>; Thu, 1 Mar 2001 10:43:25 +0100 Message-ID: <carlavasquez@example.net> From: "BRAUNER,ALEXANDRE (HP-UnitedKingdom,ex2)" <carlavasquez@example.net> To: "'carlavasquez@example.net'" <carlavasquez@example.net> Subject: SOAP on j2ee server Date: Thu, 1 Mar 2001 10:43:24 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi, I am a student working on web services. I'd like to have a SOAP entry point on my j2ee server. Does someone know how to to it? I have tried to add the soap directory in the public_html folder of j2sdkee1.2.1, but I get the following error when I try to use the admin tool. I have checked my classpath and everything is allright. I already have used SOAP with Tomcat, so I don't really understand the problem. Thanks, Alexandre Brauner Error: 500 Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPC:\j2sdkee1.2.1\repository\SSE1226 \web\_0005csoap_0005cadmin_0005clist_0002ejsplist_jsp_0.java :16: Package org.apache.soap.server not found in import. import org.apache.soap.server.*; ^ 1 carlavasquez@example.net (Compiler.java:248) at org.apache.jasper.runtime.JspLoader$2.run (JspLoader.java:273) at java.security.AccessController.doPrivileged (Native Method) at org.apache.jasper.runtime.JspLoader.loadJSP (JspLoader.java:270) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadI fNecessary(JspServlet.java:137) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.servi ce(JspServlet.java:148) at org.apache.jasper.runtime.JspServlet.serviceJspFile (JspServlet.java:247) at org.apache.jasper.runtime.JspServlet.service (JspServlet.java:352) at javax.servlet.http.HttpServlet.service (HttpServlet.java:865) at org.apache.tomcat.core.ServiceInvocationHandler.method (ServletWrapper.java:626) at org.apache.tomcat.core.ServletWrapper.handleInvocation (ServletWrapper.java:534) at org.apache.tomcat.core.ServletWrapper.handleRequest (ServletWrapper.java:378) at org.apache.tomcat.core.Context.handleRequest (Context.java:644) at org.apache.tomcat.core.ContextManager.service (ContextManager.java:440) at org.apache.tomcat.service.http.HttpConnectionHandler.process Connection(HttpConnectionHandler.java:144) at org.apache.tomcat.service.TcpConnectionThread.run (TcpEndpoint.java:310) at java.lang.Thread.run(Thread.java:484) From carlavasquez@example.net Thu Mar 1 11:03:05 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 11381 invoked from network); 1 Mar 2001 11:03:05 -0000 Received: from web12807.mail.yahoo.com (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 11:03:05 -0000 Message-ID: <carlavasquez@example.net> Received: from [83.161.120.155] by web12807.mail.yahoo.com; Thu, 01 Mar 2001 11:03:06 GMT Date: Thu, 1 Mar 2001 11:03:06 +0000 (GMT) From: =?iso-8859-1?q?Richard=20Harris?= <carlavasquez@example.net> Subject: Vector serialization To: carlavasquez@example.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi, I'm trying to return a Vector from a method using SOAP 2.1 but keep getting the following error: Caught SOAPException (SOAP-ENV:Client): No Deserializer found to deserialize a 'http://xml.apache.org/xml-soap:Vector' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'. I've tried using the VectorSerializer but that will only serialize to an array and not deserialize back to a Vector. I've only recently signed up to the User list but I've read on the Dev list that others have had Vectors (and Vectors of Vectors) serializing fine so I was wondering if anyone could suggest how I could go about doing this? Thanks... Richard ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie From carlavasquez@example.net Thu Mar 1 13:35:40 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 53263 invoked from network); 1 Mar 2001 13:35:40 -0000 Received: from mail-2.tiscalinet.it (HELO mail.tiscalinet.it) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 13:35:40 -0000 Received: from win2000.tiscalinet.it (83.161.120.155) by mail.tiscalinet.it (83.161.120.155) id 3A87B8200037795F for carlavasquez@example.net; Thu, 1 Mar 2001 14:35:13 +0100 Message-Id: <carlavasquez@example.net> X-Sender: carlavasquez@example.net X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 01 Mar 2001 14:12:36 +0100 To: carlavasquez@example.net From: Fabio Di Fabio <carlavasquez@example.net> Subject: RE: Apache within applet under IE 5.x WITHOUT plug-in? In-Reply-To: <6565B06C4C6BD311B15F0090279363880A704C@DOMSERV> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_15860756==_" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --=====================_15860756==_ Content-Type: text/plain; charset="us-ascii"; carlavasquez@example.net 01/03/2001 +0000, you wrote: >Hi > > I got Apache SOAP V2.0 to run as an applet, but had problems >implementing session tracking, any body got any solutions. I've downloaded Apache SOAP 2.0, but now I got a problem running it with Tomcat 3.2.1, I don't think I've to downgrade to Tomcat 3.1, or not? The problem seems related to the XML parser I've xerces 1.2.0 and with SOAP documentation is required xerces 1.1.2 or higher. I attach the output of my simple SOAP example --=====================_15860756==_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: attachment; filename="out.txt" org.xml.sax.SAXParseException: White space is required between the public identifier and the system identifier. at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008) at org.apache.xerces.framework.XMLDTDScanner.reportFatalXMLError(XMLDTDScanner.java:645) at org.apache.xerces.framework.XMLDTDScanner.scanExternalID(XMLDTDScanner.java:1190) at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1098) at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2177) at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2133) at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:775) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900) at org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85) at org.apache.soap.rpc.Call.invoke(Call.java:157) at SimpleSOAPClient.main(SimpleSOAPClient.java:30) [SOAPException: faultCode=SOAP-ENV:Protocol; msg=<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>400 Bad Request</TITLE> </HEAD><BODY> <H1>Bad Request</H1> Your browser sent a request that this server could not understand.<P> Client sent malformed Host header<P> <HR> <ADDRESS>Apache/1.3.17 carlavasquez@example.net Port 80</ADDRESS> </BODY></HTML> ] at org.apache.soap.rpc.Call.invoke(Call.java:167) at SimpleSOAPClient.main(SimpleSOAPClient.java:30) --=====================_15860756==_-- From carlavasquez@example.net Thu Mar 1 14:03:24 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 88574 invoked from network); 1 Mar 2001 14:03:24 -0000 Received: from host217-32-132-84.hg.mdip.bt.net (HELO domserv.synergy-fs.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 14:03:24 -0000 Received: by DOMSERV with Internet Mail Service (5.5.2650.21) id <GCRWFVJH>; Thu, 1 Mar 2001 14:08:56 -0000 Message-ID: <6565B06C4C6BD311B15F0090279363880A7051@DOMSERV> From: Anthony Dodd <carlavasquez@example.net> To: "'carlavasquez@example.net'" <carlavasquez@example.net> Subject: RE: Apache within applet under IE 5.x WITHOUT plug-in? Date: Thu, 1 Mar 2001 14:08:55 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Works fine with Tomcat 3.2.1 -----Original Message----- From: Fabio Di Fabio [mailto:carlavasquez@example.net] Sent: 01 March 2001 13:13 To: carlavasquez@example.net Subject: RE: Apache within applet under IE 5.x WITHOUT carlavasquez@example.net 01/03/2001 +0000, you wrote: >Hi > > I got Apache SOAP V2.0 to run as an applet, but had problems >implementing session tracking, any body got any solutions. I've downloaded Apache SOAP 2.0, but now I got a problem running it with Tomcat 3.2.1, I don't think I've to downgrade to Tomcat 3.1, or not? The problem seems related to the XML parser I've xerces 1.2.0 and with SOAP documentation is required xerces 1.1.2 or higher. I attach the output of my simple SOAP example From carlavasquez@example.net Thu Mar 1 14:04:36 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 91366 invoked from network); 1 Mar 2001 14:04:36 -0000 Received: from host217-32-132-84.hg.mdip.bt.net (HELO domserv.synergy-fs.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 14:04:36 -0000 Received: by DOMSERV with Internet Mail Service (5.5.2650.21) id <GCRWFVJL>; Thu, 1 Mar 2001 14:10:09 -0000 Message-ID: <6565B06C4C6BD311B15F0090279363880A7052@DOMSERV> From: Anthony Dodd <carlavasquez@example.net> To: "'carlavasquez@example.net'" <carlavasquez@example.net> Subject: RE: Apache within applet under IE 5.x WITHOUT plug-in? Date: Thu, 1 Mar 2001 14:10:08 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I forgot to mention I'm using version 1.2.2 of xerces. Don't know if that makes a difference or not. -----Original Message----- From: Fabio Di Fabio [mailto:carlavasquez@example.net] Sent: 01 March 2001 13:13 To: carlavasquez@example.net Subject: RE: Apache within applet under IE 5.x WITHOUT carlavasquez@example.net 01/03/2001 +0000, you wrote: >Hi > > I got Apache SOAP V2.0 to run as an applet, but had problems >implementing session tracking, any body got any solutions. I've downloaded Apache SOAP 2.0, but now I got a problem running it with Tomcat 3.2.1, I don't think I've to downgrade to Tomcat 3.1, or not? The problem seems related to the XML parser I've xerces 1.2.0 and with SOAP documentation is required xerces 1.1.2 or higher. I attach the output of my simple SOAP example From carlavasquez@example.net Thu Mar 1 14:38:37 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 19515 invoked from network); 1 Mar 2001 14:38:37 -0000 Received: from unknown (HELO mail15a.boca15-verio.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 14:38:37 -0000 Received: from www1518.boca15-verio.com (83.161.120.155) by mail15a.boca15-verio.com (RS ver 1.0.58s) with SMTP id 0159170 for <carlavasquez@example.net>; Thu, 1 Mar 2001 09:38:00 -0500 (EST) Message-ID: <carlavasquez@example.net> From: "Bob DuCharme" <carlavasquez@example.net> To: <carlavasquez@example.net> Received: from no.name.available by clnyrnt8isp.clamericas.com via smtpd (for [83.161.120.155]) with SMTP; 1 Mar 2001 14:42:58 UT References: <BFD12E0F3C68D211835000A0C9933B7805F918CF@tecnant6> Subject: Re: running sample clients: error creating Call Date: Thu, 1 Mar 2001 09:37:56 -0500 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.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Loop-Detect: 1 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > For Apache SOAP 2.1, you need Sun's mail.jar and will also need > activation.jar files, and then add them to your classpath. Both of these > files can be found on Sun's javasoft site. Thanks Phil! It works now. I found them in zip files at http://java.sun.com/products/javamail/index.html and http://java.sun.com/beans/glasgow/jaf.html, respectively. >Apache SOAP Developers: Could one of the developers also add these jar >files to Apache SOAP's download site(http://xml.apache.org/dist/soap/)? I agree. If the two jar files could be included in the soap distribution so that people don't have to download two Sun zip files that unzip to over 8 megs so that they can get these 45K and 280K jar files, it would make it easier for novices like me to get up and running with SOAP quickly. thanks again, Bob DuCharme www.snee.com/bob <bob@ snee.com> "The elements be kind to thee, and make thy spirits all of comfort!" Anthony and Cleopatra, III ii From carlavasquez@example.net Thu Mar 1 15:28:10 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 73942 invoked from network); 1 Mar 2001 15:28:10 -0000 Received: from blount.mail.mindspring.net (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 15:28:10 -0000 Received: from mudshark (user-37ka874.dialup.mindspring.com [83.161.120.155]) by blount.mail.mindspring.net (8.9.3/8.8.5) with SMTP id KAA22675 for <carlavasquez@example.net>; Thu, 1 Mar 2001 10:28:10 -0500 (EST) Message-Id: <carlavasquez@example.net> X-Sender: carlavasquez@example.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Thu, 01 Mar 2001 10:32:45 -0500 To: carlavasquez@example.net From: "John E. Conlon" <carlavasquez@example.net> Subject: Re: Writing new Serializer/Deserializer In-Reply-To: <carlavasquez@example.net> Mime-Version: 1.0 Content-Type: multipart/related; boundary="=====================_983478765==_.MR" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --=====================_983478765==_.MR Content-Type: text/plain; charset="us-ascii" Your original post and the one concerning business logic validation prompted me to look into Castor and do some experimenting. It looks very good. Can you share some examples of how you work with SOAP and Castor? thanks, John At 11:54 AM 2/27/01 -0800, you wrote: > > I am just wondering if it would be interesting (possible ?) to add new > Serializers/Deserializers to the SOAP package ? > > I have created 2 interesting ones: > > - A DOM serializer/deserializer (util tools exist but there are no > serializers available in the current package) > - A Castor-XML serializer/deserializer. This one uses the amazing > Exolab.org Castor package. For people who don't know, this is similar to > the Javasoft JAXB specification. You can start from an XSD Schema and > create a full Java framework from it. No need to use DOM or SAX anymore > ! This serializer/deserializer allows to pass very complex types > constrained by an XSD Schema and receive on the server side the same > type. > > Any interests ? > > Olivier > > <file://c:\opt\qualcomm\eudora > mail\attach\olivier17.vcf>12d7ff0f.jpg<file://c:\opt\qualcomm\eudora > mail\attach\olivier17.vcf> olivier17.vcf --=====================_983478765==_.MR Content-Type: image/jpeg; name="12d7ff0f.jpg"; x-mac-type="4A504547"; x-mac-creator="4A565752" Content-ID: <carlavasquez@example.net> Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="12d7ff0f.jpg" /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEB AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCAAgACADASIA AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3 ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3 uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD+1D4q /D/wH8R/2jPgxofxD8E+EfHmi2vwU/aL1W10fxn4b0bxRpdtqkHjr9mCzg1KDT9csr60hv4bS+vb WK8jhW4jt7y6gSQRXEyv13/DK37MH/Rt/wABf/DP/D3/AOZ2jxF/ydB8H/8Asgv7SH/qwv2Vq/MT 9sD/AILLXn7G/wAJ/i7438UfsCftk/GLxP8ADm1+N+taTL+zh4Dl+Nv7O03hD4W/F/8Aas+GeleL /iv+1d4JtNR+GvwMtdL0L9nHwh8RP2i/CPiux1L4nfs6aR8f/Beit4D+Jus+B/ivF4Njmjzcrced 3lGLa5nGPIpSS3ai5QUmlZOUb2bV7jRqypVa6pVJUKVWlRqVlCTpU6teFSdGlOolyQqVoYevOlCU lKpGhVlBNUpuP3B8f/2VvgP/AMKH+Nn/AAhH7N/wj/4TT/hUfxI/4RD/AIRX4P8Ag3/hKP8AhKP+ EN1n+wP+Eb/sjw7/AGt/b/8Aa32T+x/7M/4mP9o/Z/sX+k+VX5+/sH/t76z4S+O3hf8AYH+NVv8A tY+OfD/jT/hJLH9i79q/9oP9kL9sX4Fa38S7PwV4O134haz+zr8dfEn7SXwV+G8nij43+BPhr4U8 UeLPBfxjiv8AWbj4xfD7wX4jsvjBqEHxt8K2nxF/ab/kA1D/AIOV/wDgsvovxo8YfE7XPj7+yfpc ng/4d6Z4+uv2HJPgn4WuPgtdSy+CPF1nr3ha38W23imT9qObXfDmkeGrP4yXf2L4531lL4216x0s 3Fv8Izbabff2QeJ/jp/w1B4t/wCDdv8AaX/4Rb/hB/8Ahoj4keJPjp/whX9t/wDCTf8ACH/8Lb/4 JF/td+P/APhFv+Ej/sjw/wD8JB/wj/8AwkH9k/23/YOif2r9k+3/ANkab9o+xw+VlOe5RnixEsqx ccXDDOgqlSFHEU6coYmhDE4ath6lalTp4vDV6M1Oji8LKthqlpwhVc6dSMe3iDKcy4U4t4n4E4jw GJybi/gzG4XLeKMhx1GdHHZLmGLy/DZlTwOMi06SxdHD4qnRxuHp1KlXLMxpY3J8wjhc2y7MMFhv 088Rf8nQfB//ALIL+0h/6sL9lav4qv8AgvP8ZPht4R+FH7QXw++Jmu/ss+FfiL4p0H47f8Ip4O/a a0n9tL4A/tJa7Zav+1t/wVp0L4ba/wDCT9l/9law1r9mv4t6RqcFtNP+zj+178Xte020vE13UPid +1ppdla/tofD+DTP60P2qf2tP2Yf2Sf2gv2f/E37T3x++EnwD0DxZ8G/2ltC8Mar8WPHfh7wRaeI dYtfG37LOoXen6M+vX9mdSuLSyT7TeLaLKLWJ4DcGM3EAk4f/h9J/wAEk/8ApI5+xx/4fv4ff/Lq vsMozXB5b9ahmHC/CPFWFxChJYPizh/CZzSw2Ko0q0MNjcDXn7HH4KvhpYidb2WHxlPA4ytTws8z weO+pYSNDpyPibirhfEYjF8KcVcTcKYvE0Z4TFYrhnPcyyPEYvB1YOFbCYqpl2IoPEYarTnUpTpV eePs6lWEeVVanN/nvfs1f8ErP22/hn+xb+2d4m+PP/BD/wCN3x28FftFfCKDQ/g38V7y38FRftl/ s6/GXwJd/F3Q/Anj3wz+zDdT2/7Xtzpvjn48+KPhnd/FKHQ9M8HR3XwQ8G3njzXvDnxP+FE48NXn 9kX7Ov8AyQX/AINRf+xH+H//AK5G/aYr7/8A+H0n/BJP/pI5+xx/4fv4ff8Ay6r5L+KX7en7FP7W v7en/BI/wl+zH+1Z8A/jz4r8L/tXftCeI/EHhn4WfFHwj4y8Q6T4ek/4Ju/tsaYNdvNF0XVLrUo9 Gj1K6s9PuNU+zGxtb6/060uZ4p9Qso5/EzWhg804/wDEDxEp4Khk+ZeJGa5Vm+dZDklTF4HgvKq+ SZFgOFsqw/CPCTxNbJ+EsBheG8nyTJ6mDyPD4OjmEMnwuZZosdnlfMs1x/kKpU+r4fD1Kk6/1aNV LEV2qmLrOtWniKtTFYpr22JqTr1KtV1K0pyUqkowcaahCP8A/9k= --=====================_983478765==_.MR Content-Type: text/plain; charset="us-ascii" ************************************************************************ John E. Conlon carlavasquez@example.net tel: (442)693-5651 fax: (442)693-5651 <http://www.verticon.com/>www.verticon.com ************************************************************************ --=====================_983478765==_.MR-- From carlavasquez@example.net Thu Mar 1 16:21:37 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 47979 invoked from network); 1 Mar 2001 16:21:37 -0000 Received: from zcars04f.nortelnetworks.com (HELO zcars04f.ca.nortel.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 16:21:37 -0000 Received: from zcard015.ca.nortel.com by zcars04f.ca.nortel.com; Thu, 1 Mar 2001 11:17:10 -0500 Received: by zcard015.ca.nortel.com with Internet Mail Service (5.5.2653.19) id <FZV9792Q>; Thu, 1 Mar 2001 11:17:13 -0500 Message-ID: <carlavasquez@example.net> From: "Xiaohu Liu" <carlavasquez@example.net> To: carlavasquez@example.net Subject: How do you debug codes on server? Date: Thu, 1 Mar 2001 11:15:03 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0A26A.C5B2DB00" X-Orig: <carlavasquez@example.net> X-Spam-Rating: h31.sny.collab.net 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_01C0A26A.C5B2DB00 Content-Type: text/plain; charset="iso-8859-1" Hi, Is there any ways to debug your java program run on the server as a service? For example how can we debug Addressbook.java? Since it is invoked by SOAP, how can I set breakpoints inside Addressbook.java? Thanks a lot. -Liu ------_=_NextPart_001_01C0A26A.C5B2DB00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2654.19"> <TITLE>How do you debug codes on server? </TITLE> </HEAD> <BODY> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial">Hi,</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">Is there any ways to debug your java = program run on the server as a service? For example how can we debug = Addressbook.java? Since it is invoked by SOAP, how can I set = breakpoints inside Addressbook.java?</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">Thanks a lot.</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">-Liu</FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C0A26A.C5B2DB00-- From carlavasquez@example.net Thu Mar 1 16:50:00 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 88231 invoked from network); 1 Mar 2001 16:50:00 -0000 Received: from unknown (HELO knot.intraware.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 16:50:00 -0000 Received: from intraware.com ([83.161.120.155]) by knot.intraware.com (Netscape Messaging Server 4.15) with ESMTP id G9J2P500.UC2 for <carlavasquez@example.net>; Thu, 1 Mar 2001 08:48:41 -0800 Message-ID: <carlavasquez@example.net> Date: Thu, 01 Mar 2001 08:52:40 -0800 From: Olivier Brand <carlavasquez@example.net> Organization: Intraware,Inc. X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: fr,en MIME-Version: 1.0 To: soap <carlavasquez@example.net> Subject: Question about encodingStyle Content-Type: multipart/mixed; boundary="------------BEEA7743C4194E870DE12706" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------BEEA7743C4194E870DE12706 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit By default SOAP defines an encoding style: http://schemas.xmlsoap.org/soap/encoding/ What is really the meaning of this encoding style ? Is it being used in the SOAP server ? Does it make sense to change it when defining a new mapping ? For example, if a return type is an XML element represented by a specific XSD schema with a specific namespace, should we then change the encodingStyle to something else ? Thanks for any answers. Olivier --------------BEEA7743C4194E870DE12706 Content-Type: text/x-vcard; charset=us-ascii; name="olivier.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Olivier Brand Content-Disposition: attachment; filename="olivier.vcf" begin:vcard n:Brand;Olivier x-mozilla-html:FALSE org:<a href="http://www.intraware.com/index.html"><img src="http://www.intraware.com/images/tempgifs/logotype.gif" border="0" width="165" height="30" </a>;IT Architecture adr:;;;;;; version:2.1 email;internet:carlavasquez@example.net title:Director of Application Architecture x-mozilla-cpt:;-31104 fn:Olivier Brand end:vcard --------------BEEA7743C4194E870DE12706-- From carlavasquez@example.net Thu Mar 1 17:15:07 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 15529 invoked from network); 1 Mar 2001 17:15:07 -0000 Received: from unknown (HELO knot.intraware.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 17:15:07 -0000 Received: from intraware.com ([83.161.120.155]) by knot.intraware.com (Netscape Messaging Server 4.15) with ESMTP id G9J3V400.LB9 for <carlavasquez@example.net>; Thu, 1 Mar 2001 09:13:52 -0800 Message-ID: <carlavasquez@example.net> Date: Thu, 01 Mar 2001 09:17:50 -0800 From: Olivier Brand <carlavasquez@example.net> Organization: Intraware,Inc. X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: fr,en MIME-Version: 1.0 To: carlavasquez@example.net Subject: Re: Writing new Serializer/Deserializer References: <carlavasquez@example.net> Content-Type: multipart/mixed; boundary="------------BF873A06D24DCBB7BC26DCD0" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------BF873A06D24DCBB7BC26DCD0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit For example, in the case of implementing a Java client ans a specific service (in Java) runiing on the SOAP server, if you are exchanging XML data like the UDDI protocol is doing, you don't want to write your marshaller/unmarshaller for each object, so using Castor helps a lot since it is generating everything for you. Now you have 2 options: - Sending the XML yourself through SOAP and change the signature of the operation to String or Element - Writing your Castor Serializer/Deserializer and having the SOAP server marshalling/unmarshalling the XML for you. So your signature will be strongly typed, like PurchaseOrder for example. (PurchaseOrder being a Castor generated Class representing an element in your XSD Schema definition). I have decided to write a CastorSerializer class and a DOM one as well. So the service can use a Java Castor Object and the Client receiving an XML document as a String, in case the caller is not Java. Then if it is Java, you can just use Castor and the unmarshall method to re-initialize the object. Hope it is clear enough. Looking at the source code of the Date serializer helped me a lot. There a still some questions regarding the encodingStyle. I have posted a question about it earlier. Olivier "John E. Conlon" wrote: > Your original post and the one concerning business logic validation > prompted me > to look into Castor and do some experimenting. It looks very good. Can you > share some examples of how you work with SOAP and Castor? > > thanks, > > John > > At 11:54 AM 2/27/01 -0800, you wrote: > > > > I am just wondering if it would be interesting (possible ?) to add new > > Serializers/Deserializers to the SOAP package ? > > > > I have created 2 interesting ones: > > > > - A DOM serializer/deserializer (util tools exist but there are no > > serializers available in the current package) > > - A Castor-XML serializer/deserializer. This one uses the amazing > > Exolab.org Castor package. For people who don't know, this is similar to > > the Javasoft JAXB specification. You can start from an XSD Schema and > > create a full Java framework from it. No need to use DOM or SAX anymore > > ! This serializer/deserializer allows to pass very complex types > > constrained by an XSD Schema and receive on the server side the same > > type. > > > > Any interests ? > > > > Olivier > > > > <file://c:\opt\qualcomm\eudora > > mail\attach\olivier17.vcf>12d7ff0f.jpg<file://c:\opt\qualcomm\eudora > > mail\attach\olivier17.vcf> olivier17.vcf --------------BF873A06D24DCBB7BC26DCD0 Content-Type: text/x-vcard; charset=us-ascii; name="olivier.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Olivier Brand Content-Disposition: attachment; filename="olivier.vcf" begin:vcard n:Brand;Olivier x-mozilla-html:FALSE org:<a href="http://www.intraware.com/index.html"><img src="http://www.intraware.com/images/tempgifs/logotype.gif" border="0" width="165" height="30" </a>;IT Architecture adr:;;;;;; version:2.1 email;internet:carlavasquez@example.net title:Director of Application Architecture x-mozilla-cpt:;-31104 fn:Olivier Brand end:vcard --------------BF873A06D24DCBB7BC26DCD0-- From carlavasquez@example.net Thu Mar 1 17:32:59 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 30409 invoked from network); 1 Mar 2001 17:32:59 -0000 Received: from threshold3.jpmorgan.com (HELO jpmorgan.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 17:32:59 -0000 Received: (from uucp@localhost) by jpmorgan.com (8.8.5/8.8.5) id MAA23098 for <carlavasquez@example.net>; Thu, 1 Mar 2001 12:32:56 -0500 (EST) Received: from jpmmailhost4.ny.jpmorgan.com(83.161.120.155) by threshold3.jpmorgan.com via smap (V4.2) id xma022812; Thu, 1 Mar 01 12:32:28 -0500 Received: from nyc-ntgw-n01.ny.jpmorgan.com (nyc_smtpmta_02.ny.jpmorgan.com [83.161.120.155]) by jpmmailhost4.ny.jpmorgan.com (8.9.1a/8.9.1) with SMTP id MAA23264 for <carlavasquez@example.net>; Thu, 1 Mar 2001 12:32:28 -0500 (EST) Received: by nyc-ntgw-n01.ny.jpmorgan.com(Lotus SMTP MTA v4.6.4 (830.2 3-23-1999)) id 85256A02.00605850 ; Thu, 1 Mar 2001 12:32:20 -0500 X-Lotus-FromDomain: JPMORGAN@SMTP From: "Nicholas Quaine" <carlavasquez@example.net> To: carlavasquez@example.net Message-ID: <carlavasquez@example.net> Date: Thu, 1 Mar 2001 18:32:19 +0100 Subject: Re: How do you debug codes on server? Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N if you run your servlet engine inside your development environment (for example Tomcat within JBuilder) and you give Tomcat access to all the source then you can not only debug the service code but also the soap code itself Nick carlavasquez@example.net on 03/01/2001 11:15:03 AM Please respond to carlavasquez@example.net To: carlavasquez@example.net cc: (bcc: Nicholas Quaine) Subject: How do you debug codes on server? Hi, Is there any ways to debug your java program run on the server as a service? For example how can we debug Addressbook.java? Since it is invoked by SOAP, how can I set breakpoints inside Addressbook.java? Thanks a lot. -Liu This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan Chase & Co., its subsidiaries and affiliates. From carlavasquez@example.net Thu Mar 1 17:58:54 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 72468 invoked from network); 1 Mar 2001 17:58:54 -0000 Received: from hoemail2.lucent.com (HELO hoemail2.firewall.lucent.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 17:58:54 -0000 Received: from hoemail2.firewall.lucent.com (localhost [83.161.120.155]) by hoemail2.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id MAA07358 for <carlavasquez@example.net>; Thu, 1 Mar 2001 12:58:55 -0500 (EST) Received: from nwmail.wh.lucent.com (h135-5-40-100.lucent.com [83.161.120.155]) by hoemail2.firewall.lucent.com (Pro-8.9.3/8.9.3) with SMTP id MAA07354 for <carlavasquez@example.net>; Thu, 1 Mar 2001 12:58:55 -0500 (EST) Received: by nwmail.wh.lucent.com (SMI-8.6/EMS-1.5 sol2) id MAA25875; Thu, 1 Mar 2001 12:58:51 -0500 Received: from HANLAPTOP by nwmail.wh.lucent.com (SMI-8.6/EMS-1.5 sol2) id MAA25870; Thu, 1 Mar 2001 12:58:50 -0500 From: "Han Wang" <carlavasquez@example.net> To: "Soap" <carlavasquez@example.net> Subject: Soap Compiler Date: Thu, 1 Mar 2001 12:54:00 -0500 Message-ID: <carlavasquez@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Soap Users, Looking at the code for the Soap clients, there is a pattern. Set up the Call, tell it the method name, create and add a list of parameters, invoke, get return value/error. That being said, is there some type of Soap Client compiler/generator out there that takes the Soap (Server) object, parses through it (or use reflection), and automatically generate a client? Thanks, Han From carlavasquez@example.net Thu Mar 1 18:06:30 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 84214 invoked from network); 1 Mar 2001 18:06:30 -0000 Received: from electabuzz.westgroup.com (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 18:06:30 -0000 Received: from electabuzz.westgroup.com (localhost.localdomain [83.161.120.155]) by electabuzz.westgroup.com (8.9.3/8.9.3) with ESMTP id MAA06734 for <carlavasquez@example.net>; Thu, 1 Mar 2001 12:06:04 -0600 Received: from elk.int.westgroup.com (elk.int.westgroup.com [83.161.120.155]) by electabuzz.westgroup.com (8.9.3/8.9.3) with ESMTP id MAA06727 for <carlavasquez@example.net>; Thu, 1 Mar 2001 12:06:04 -0600 Received: by elk.int.westgroup.com with Internet Mail Service (5.5.2653.19) id <FPCQN9TG>; Thu, 1 Mar 2001 12:06:04 -0600 Message-ID: <carlavasquez@example.net> From: "Hansen, Richard" <carlavasquez@example.net> To: "'carlavasquez@example.net'" <carlavasquez@example.net> Subject: RE: Soap Compiler Date: Thu, 1 Mar 2001 12:06:02 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N IBM has a Web Services Tool Kit. I know it will create a WSDL file from a server class. I think it may also generate stubs and skeletons from a WSDL file. Rick > -----Original Message----- > From: Han Wang [mailto:carlavasquez@example.net] > Sent: Thursday, March 01, 2001 11:54 AM > To: Soap > Subject: Soap Compiler > > > Soap Users, > > Looking at the code for the Soap clients, there is a pattern. > Set up the > Call, tell it the method name, create and add a list of > parameters, invoke, > get return value/error. That being said, is there some type > of Soap Client > compiler/generator out there that takes the Soap (Server) > object, parses > through it (or use reflection), and automatically generate a client? > > Thanks, > Han > From carlavasquez@example.net Thu Mar 1 19:11:34 2001 Return-Path: <carlavasquez@example.net> Mailing-List: contact carlavasquez@example.net; run by ezmlm Delivered-To: mailing list carlavasquez@example.net Received: (qmail 57042 invoked from network); 1 Mar 2001 19:11:34 -0000 Received: from zcars04e.nortelnetworks.com (83.161.120.155) by h31.sny.collab.net with SMTP; 1 Mar 2001 19:11:34 -0000 Received: from zcard015.ca.nortel.com (actually zcard015) by zcars04e.nortelnetworks.com; Thu, 1 Mar 2001 13:59:37 -0500 Received: by zcard015.ca.nortel.com with Internet Mail Service (5.5.2653.19) id <FZV9811K>; Thu, 1 Mar 2001 13:59:39 -0500 Message-ID: <carlavasquez@example.net> From: "Xiaohu Liu" <carlavasquez@example.net> To: carlavasquez@example.net Subject: RE: How do you debug codes on server? Date: Thu, 1 Mar 2001 13:59:30 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0A281.BF3E35A0" X-Orig: <carlavasquez@example.net> X-Spam-Rating: h31.sny.collab.net 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_01C0A281.BF3E35A0 Content-Type: text/plain; charset="iso-8859-1" Hi Nick, That should be a good idea, but how can I start Tomcat within JBuilder. Tomcat is usually started with a script startup.bat. Liu -----Original Message----- From: Nicholas Quaine [mailto:carlavasquez@example.net] Sent: Thursday, March 01, 2001 12:32 PM To: carlavasquez@example.net Subject: Re: How do you debug codes on server? if you run your servlet engine inside your development environment (for example Tomcat within JBuilder) and you give Tomcat access to all the source then you can not only debug the service code but also the soap code itself Nick carlavasquez@example.net on 03/01/2001 11:15:03 AM Please respond to carlavasquez@example.net To: carlavasquez@example.net cc: (bcc: Nicholas Quaine) Subject: How do you debug codes on server? Hi, Is there any ways to debug your java program run on the server as a service? For example how can we debug Addressbook.java? Since it is invoked by SOAP, how can I set breakpoints inside Addressbook.java? Thanks a lot. -Liu This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily
{'source': 'Apache Software Foundation Public Mail Archives'}