From dharrison@example.net Sun Jan 01 12:49:41 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 20535 invoked from network); 1 Jan 2006 12:49:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2006 12:49:40 -0000 Received: (qmail 40058 invoked by uid 500); 1 Jan 2006 12:49:32 -0000 Delivered-To: dharrison@example.net Received: (qmail 40046 invoked by uid 500); 1 Jan 2006 12:49:32 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 40035 invoked by uid 99); 1 Jan 2006 12:49:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 04:49:32 -0800 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=ADVANCE_FEE_1,DNS_FROM_RFC_ABUSE,NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dharrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mrqout1.tiscali.it) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 04:49:31 -0800 Received: from 83.161.120.155 by mrq-1 with esmtp (Exim) id 1Et2e5-0008Ga-2f; Sun, 01 Jan 2006 13:49:10 +0100 Received: from [83.161.120.155] by mail-3.tiscali.it with HTTP; Sun, 1 Jan 2006 13:49:17 +0100 Date: Sun, 1 Jan 2006 13:49:17 +0100 Message-ID: <dharrison@example.net> In-Reply-To: <dharrison@example.net> From: dharrison@example.net Subject: RE: wsdl not necessary? To: dharrison@example.net MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >-- Messaggio Originale -- >Reply-To: dharrison@example.net >Subject: RE: wsdl not necessary? >Date: Sat, 31 Dec 2005 21:06:37 -0000 >From: "James Waldrop" <dharrison@example.net> >To: <dharrison@example.net> > > >The WSDL is a description of the service. It is not necessary to do >anything with it at run-time, so code generated from it can be used >without reference to it. You don't even need to generate the code, since= >it's simple enough to read the WSDL and then write Java classes to match= >it. Of course, you can save some tedium by using code generation. > >A useful analogy might be a map from point A to point B. It might be >convenient to have the map while you're driving, but it's not necessary >as long as you have looked at it before and can remember it. The code >(generated or not) is the 'memory' of how to get access the service. > >Of course, if the service changes, the code won't work and you'll need >to modify it or regenerate it to match the new WSDL. > >James > Thanks for ypu reply! What you must be right if the developer who writes the client and the server is the same. If i want to connect to a service written by another developer i don't un= derstand how I can write my client code without wsdl file that describe the servic= e. How can i know methods and parameters exposed?How can i write stub classe= s with nothin in my hands? I thought these things could be possible ONLY having wsdl file. If there is another way plese tell me how can i do? Thanks a lot _________________________________________________________________ TISCALI ADSL Web&Mail Solo con Tiscali Adsl navighi e telefoni senza canone Telecom a partire d= a 14,95 Euro/mese. Attivala subito! Per te 500 MB inclusi per navigare, inviare e ricevere messaggi e-mail, f= oto ed mp3. http://abbonati.tiscali.it/adsl/sa/2wam_tc/ From dharrison@example.net Sun Jan 01 12:54:24 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 20956 invoked from network); 1 Jan 2006 12:54:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2006 12:54:24 -0000 Received: (qmail 42709 invoked by uid 500); 1 Jan 2006 12:54:16 -0000 Delivered-To: dharrison@example.net Received: (qmail 42700 invoked by uid 500); 1 Jan 2006 12:54:16 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 42689 invoked by uid 99); 1 Jan 2006 12:54:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 04:54:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO util02.iad02.opsource.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 04:54:16 -0800 Received: from mailowa01.corp.opsource.net (mail-exchange.opsource.net [83.161.120.155]) by util02.iad02.opsource.net (8.12.10/8.12.10) with ESMTP id k01CroOM023967 for <dharrison@example.net>; Sun, 1 Jan 2006 12:53:52 GMT Received: from mailxchg01.corp.opsource.net ([83.161.120.155]) by mailowa01.corp.opsource.net with Microsoft SMTPSVC509.773.9917); Sun, 1 Jan 2006 12:54:23 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: wsdl not necessary? Date: Sun, 1 Jan 2006 12:53:44 -0000 Message-ID: <dharrison@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: wsdl not necessary? Thread-Index: AcYO0ecenKFF+eflSeqIaB7mnpA4ggAABMoQ From: "James Waldrop" <dharrison@example.net> To: <dharrison@example.net> X-OriginalArrivalTime: 01 Jan 2006 12:54:23.0863 (UTC) FILETIME=[7D881870:01C60ED2] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Well, of course you need the WSDL to initially develop the client. You need something to feed to WSDL2Java, or whatever it is you're going to do to end up with your SOAP layer (model & service objects). If you know the URL of a service, you can often get the WSDL by appending ?WSDL to the endpoint. Or, they may publish one. Just as an example, if you're going to integrate with the Salesforce.com SOAP API's, there's a setup page that allows you to generate a couple different WSDLs to use, depending on your requirements. James -----Original Message----- Thanks for ypu reply! What you must be right if the developer who writes the client and the server is the same. If i want to connect to a service written by another developer i don't understand how I can write my client code without wsdl file that describe the service. How can i know methods and parameters exposed?How can i write stub classes with nothin in my hands? I thought these things could be possible ONLY having wsdl file. If there is another way plese tell me how can i do? Thanks a lot From dharrison@example.net Sun Jan 01 14:09:01 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 37266 invoked from network); 1 Jan 2006 14:09:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2006 14:09:01 -0000 Received: (qmail 84622 invoked by uid 500); 1 Jan 2006 14:08:42 -0000 Delivered-To: dharrison@example.net Received: (qmail 84609 invoked by uid 500); 1 Jan 2006 14:08:41 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 84588 invoked by uid 99); 1 Jan 2006 14:08:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 06:08:41 -0800 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=ADVANCE_FEE_1,DNS_FROM_RFC_ABUSE,NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dharrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mrqout2.tiscali.it) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 06:08:40 -0800 Received: from 83.161.120.155 by mrq-2 with esmtp (Exim) id 1Et3se-0006EZ-81; Sun, 01 Jan 2006 15:08:19 +0100 Received: from [83.161.120.155] by mail-4.tiscali.it with HTTP; Sun, 1 Jan 2006 15:08:14 +0100 Date: Sun, 1 Jan 2006 15:08:14 +0100 Message-ID: <dharrison@example.net> In-Reply-To: <dharrison@example.net> From: dharrison@example.net Subject: RE: wsdl not necessary? To: dharrison@example.net MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >-- Messaggio Originale -- >Reply-To: dharrison@example.net >Subject: RE: wsdl not necessary? >Date: Sun, 1 Jan 2006 12:53:44 -0000 >From: "James Waldrop" <dharrison@example.net> >To: <dharrison@example.net> > > >Well, of course you need the WSDL to initially develop the client. You >need something to feed to WSDL2Java, or whatever it is you're going to >do to end up with your SOAP layer (model & service objects). If you know= >the URL of a service, you can often get the WSDL by appending ?WSDL to >the endpoint. Or, they may publish one. Just as an example, if you're >going to integrate with the Salesforce.com SOAP API's, there's a setup >page that allows you to generate a couple different WSDLs to use, >depending on your requirements. > >James > > >-----Original Message----- >-- Messaggio Originale -- >Reply-To: dharrison@example.net >Subject: RE: wsdl not necessary? >Date: Sun, 1 Jan 2006 12:53:44 -0000 >From: "James Waldrop" <dharrison@example.net> >To: <dharrison@example.net> > > >Well, of course you need the WSDL to initially develop the client. You >need something to feed to WSDL2Java, or whatever it is you're going to >do to end up with your SOAP layer (model & service objects). If you know= >the URL of a service, you can often get the WSDL by appending ?WSDL to >the endpoint. Or, they may publish one. Just as an example, if you're >going to integrate with the Salesforce.com SOAP API's, there's a setup >page that allows you to generate a couple different WSDLs to use, >depending on your requirements. > ok you said that wsdl it is necessary to write the client but i don't und= erstand why axis2 examples as MyService.java with ping and echo method don't hav= e it. And i don't understand why in this example the client EchoBlockingClient doesn't need any stub class too. Another important question is that if wsdl file it is necessary why there= is not a tool to create it starting from java service interface. In axis (version 1) there is Java2Wsdl tool, why in axis 2 is absent? Can i use t= hat old tool and have my wsdl file or not? You said you created tha file by hand but i think for a newbie it is imp= ossbile. Thanks and excuse me for all these questions. _________________________________________________________________ TISCALI ADSL Web&Mail Solo con Tiscali Adsl navighi e telefoni senza canone Telecom a partire d= a 14,95 Euro/mese. Attivala subito! Per te 500 MB inclusi per navigare, inviare e ricevere messaggi e-mail, f= oto ed mp3. http://abbonati.tiscali.it/adsl/sa/2wam_tc/ From dharrison@example.net Sun Jan 01 14:09:01 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 37269 invoked from network); 1 Jan 2006 14:09:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2006 14:09:01 -0000 Received: (qmail 84768 invoked by uid 500); 1 Jan 2006 14:08:42 -0000 Delivered-To: dharrison@example.net Received: (qmail 84614 invoked by uid 500); 1 Jan 2006 14:08:42 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 84589 invoked by uid 99); 1 Jan 2006 14:08:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 06:08:41 -0800 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=ADVANCE_FEE_1,DNS_FROM_RFC_ABUSE,NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dharrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mrqout2.tiscali.it) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 06:08:40 -0800 Received: from 83.161.120.155 by mrq-2 with esmtp (Exim) id 1Et3se-0006EY-7v; Sun, 01 Jan 2006 15:08:19 +0100 Received: from [83.161.120.155] by mail-4.tiscali.it with HTTP; Sun, 1 Jan 2006 15:08:14 +0100 Date: Sun, 1 Jan 2006 15:08:14 +0100 Message-ID: <dharrison@example.net> In-Reply-To: <dharrison@example.net> From: dharrison@example.net Subject: RE: wsdl not necessary? To: dharrison@example.net MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >-- Messaggio Originale -- >Reply-To: dharrison@example.net >Subject: RE: wsdl not necessary? >Date: Sun, 1 Jan 2006 12:53:44 -0000 >From: "James Waldrop" <dharrison@example.net> >To: <dharrison@example.net> > > >Well, of course you need the WSDL to initially develop the client. You >need something to feed to WSDL2Java, or whatever it is you're going to >do to end up with your SOAP layer (model & service objects). If you know= >the URL of a service, you can often get the WSDL by appending ?WSDL to >the endpoint. Or, they may publish one. Just as an example, if you're >going to integrate with the Salesforce.com SOAP API's, there's a setup >page that allows you to generate a couple different WSDLs to use, >depending on your requirements. > >James > > >-----Original Message----- >-- Messaggio Originale -- >Reply-To: dharrison@example.net >Subject: RE: wsdl not necessary? >Date: Sun, 1 Jan 2006 12:53:44 -0000 >From: "James Waldrop" <dharrison@example.net> >To: <dharrison@example.net> > > >Well, of course you need the WSDL to initially develop the client. You >need something to feed to WSDL2Java, or whatever it is you're going to >do to end up with your SOAP layer (model & service objects). If you know= >the URL of a service, you can often get the WSDL by appending ?WSDL to >the endpoint. Or, they may publish one. Just as an example, if you're >going to integrate with the Salesforce.com SOAP API's, there's a setup >page that allows you to generate a couple different WSDLs to use, >depending on your requirements. > ok you said that wsdl it is necessary to write the client but i don't und= erstand why axis2 examples as MyService.java with ping and echo method don't hav= e it. And i don't understand why in this example the client EchoBlockingClient doesn't need any stub class too. Another important question is that if wsdl file it is necessary why there= is not a tool to create it starting from java service interface. In axis (version 1) there is Java2Wsdl tool, why in axis 2 is absent? Can i use t= hat old tool and have my wsdl file or not? You said you created tha file by hand but i think for a newbie it is imp= ossbile. Thanks and excuse me for all these questions. _________________________________________________________________ TISCALI ADSL Web&Mail Solo con Tiscali Adsl navighi e telefoni senza canone Telecom a partire d= a 14,95 Euro/mese. Attivala subito! Per te 500 MB inclusi per navigare, inviare e ricevere messaggi e-mail, f= oto ed mp3. http://abbonati.tiscali.it/adsl/sa/2wam_tc/ From dharrison@example.net Sun Jan 01 17:53:38 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 81197 invoked from network); 1 Jan 2006 17:53:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2006 17:53:37 -0000 Received: (qmail 61063 invoked by uid 500); 1 Jan 2006 17:53:29 -0000 Delivered-To: dharrison@example.net Received: (qmail 61046 invoked by uid 500); 1 Jan 2006 17:53:28 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 61035 invoked by uid 99); 1 Jan 2006 17:53:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 09:53:28 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=ADVANCE_FEE_1,DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO web32711.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 01 Jan 2006 09:53:27 -0800 Received: (qmail 89201 invoked by uid 60001); 1 Jan 2006 17:53:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OybHmeJHH4dcP/orlDdBOQSM7lb4QTGfShHhDFrYXHwJOpoP3sEKY2DF8oNWsD2T2eAMtc1VQK5VtwdwdY1ORiRWp2gU7L5qdMgyCaJGFZvV6XHmsVv0trGbYyUUoA7ANO0qii/h3rnT6s27n120FefMNES0ZcWKlIIjda1WgHQ= ; Message-ID: <dharrison@example.net> Received: from [83.161.120.155] by web32711.mail.mud.yahoo.com via HTTP; Sun, 01 Jan 2006 09:53:06 PST Date: Sun, 1 Jan 2006 09:53:06 -0800 (PST) From: trebor iksrazal <dharrison@example.net> Subject: RE: wsdl not necessary? To: dharrison@example.net In-Reply-To: <dharrison@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N A couple quick things: 1) Place [axis2] in the subject as your more likely to get a specific response. 2) WSDL is _not_ neccesary to develop axis2 web services, its optional. Some of the user guide samples use wsdl, some don't. 3) From what I gather java2wsdl is comming soon. However, its often suggested that java2wsdl should be just used as a starting point, and then work directly with the wsdl by editing it. I myself don't use java2wsdl . 4) Use the 'free as in beer' soa editor from cape clear to create a wsdl file. Or just find a simple one and then edit it to suit your needs. Its not dharrison@example.net. HTH, iksrazal http://www.braziloutsource.com/ --- dharrison@example.net wrote: > > >-- Messaggio Originale -- > >Reply-To: dharrison@example.net > >Subject: RE: wsdl not necessary? > >Date: Sun, 1 Jan 2006 12:53:44 -0000 > >From: "James Waldrop" <dharrison@example.net> > >To: <dharrison@example.net> > > > > > >Well, of course you need the WSDL to initially > develop the client. You > >need something to feed to WSDL2Java, or whatever it > is you're going to > >do to end up with your SOAP layer (model & service > objects). If you know > >the URL of a service, you can often get the WSDL by > appending ?WSDL to > >the endpoint. Or, they may publish one. Just as an > example, if you're > >going to integrate with the Salesforce.com SOAP > API's, there's a setup > >page that allows you to generate a couple different > WSDLs to use, > >depending on your requirements. > > > >James > > > > > >-----Original Message----- > > >-- Messaggio Originale -- > >Reply-To: dharrison@example.net > >Subject: RE: wsdl not necessary? > >Date: Sun, 1 Jan 2006 12:53:44 -0000 > >From: "James Waldrop" <dharrison@example.net> > >To: <dharrison@example.net> > > > > > >Well, of course you need the WSDL to initially > develop the client. You > >need something to feed to WSDL2Java, or whatever it > is you're going to > >do to end up with your SOAP layer (model & service > objects). If you know > >the URL of a service, you can often get the WSDL by > appending ?WSDL to > >the endpoint. Or, they may publish one. Just as an > example, if you're > >going to integrate with the Salesforce.com SOAP > API's, there's a setup > >page that allows you to generate a couple different > WSDLs to use, > >depending on your requirements. > > > > ok you said that wsdl it is necessary to write the > client but i don't understand > why axis2 examples as MyService.java with ping and > echo method don't have > it. > And i don't understand why in this example the > client EchoBlockingClient > doesn't need any stub class too. > > Another important question is that if wsdl file it > is necessary why there > is not a tool to create it starting from java > service interface. In axis > (version 1) there is Java2Wsdl tool, why in axis 2 > is absent? Can i use that > old tool and have my wsdl file or not? > You said you created tha file by hand but i think > for a newbie it is impossbile. > Thanks and excuse me for all these questions. > > > > > _________________________________________________________________ > TISCALI ADSL Web&Mail > Solo con Tiscali Adsl navighi e telefoni senza > canone Telecom a partire da > 14,95 Euro/mese. Attivala subito! > Per te 500 MB inclusi per navigare, inviare e > ricevere messaggi e-mail, foto > ed mp3. > http://abbonati.tiscali.it/adsl/sa/2wam_tc/ > > > > "None are more hopelessly enslaved than those who falsely believe they are free. -- Goethe" __________________________________ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/ From dharrison@example.net Sun Jan 01 18:46:21 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 92364 invoked from network); 1 Jan 2006 18:46:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2006 18:46:21 -0000 Received: (qmail 91508 invoked by uid 500); 1 Jan 2006 18:46:13 -0000 Delivered-To: dharrison@example.net Received: (qmail 91492 invoked by uid 500); 1 Jan 2006 18:46:12 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 91481 invoked by uid 99); 1 Jan 2006 18:46:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 10:46:12 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO SLNTEXG.metamatrix.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 10:46:12 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C60F03.D0225AA6" Subject: Objectify XML Nodes Date: Sun, 1 Jan 2006 12:45:48 -0600 Message-ID: <dharrison@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Objectify XML Nodes Thread-Index: AcYMjwDSSrhB562mSXWImxILGkgqtgCdH6OA From: "Ted Jones" <dharrison@example.net> To: <dharrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C60F03.D0225AA6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have an XML document that I need to convert to Axis objects. The XML nodes will make-up the SOAPBody. Here's an example of what an XML document might look like: =20 ------------- <?xml version=3D"1.0" encoding=3D"UTF-8"?><BooksNS:bookCollection xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:BooksNS=3D"http://www.metamatrix.com/XMLSchema/DataSets/Books" xmlns:BookTypesNS=3D"http://www.metamatrix.com/XMLSchema/DataSets/Books/B= o okDatatypes"><book isbn=3D"0-201-10088-6"><title>Compilers</title><subtitle>Principles, Techniques, and Tools</subtitle><edition>1</edition><authors><author>Aho</author><author >Sethi</author><author>Ullman</author></authors><publishingInformation>< publisher>Addison-Wesley</publisher><publishDate>1985</publishDate></pub lishingInformation></book></BooksNS:bookCollection> -------------- =20 I will strip off the top XML node and the SOAPBody will contain the rest of the document. Are there any Axis utilities (or third party tools) to accomplish this? I would prefer to avoid parsing the document or using JDom to walk the nodes if at all possible.=20 =20 Thanks, Ted Jones ------_=_NextPart_001_01C60F03.D0225AA6 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD> <BODY> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial size=3D2><SPAN = class=3D320544015-29122005>I=20 have an XML document that I need to convert to Axis objects. The XML = nodes will=20 make-up the SOAPBody. Here's an example of what an XML document might = look=20 like:</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D320544015-29122005></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D320544015-29122005>-------------</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN = class=3D320544015-29122005>&lt;?xml=20 version=3D"1.0" encoding=3D"UTF-8"?&gt;&lt;BooksNS:bookCollection = xmlns:xsd=3D"<A=20 href=3D"http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchem= a</A>"=20 xmlns:BooksNS=3D"<A=20 href=3D"http://www.metamatrix.com/XMLSchema/DataSets/Books">http://www.me= tamatrix.com/XMLSchema/DataSets/Books</A>"=20 xmlns:BookTypesNS=3D"<A=20 href=3D'http://www.metamatrix.com/XMLSchema/DataSets/Books/BookDatatypes"= ><book'>http://www.metamatrix.com/XMLSchema/DataSets/Books/BookDatatypes"= &gt;&lt;book</A>=20 isbn=3D"0-201-10088-6"&gt;&lt;title&gt;Compilers&lt;/title&gt;&lt;subtitl= e&gt;Principles,=20 Techniques, and=20 Tools&lt;/subtitle&gt;&lt;edition&gt;1&lt;/edition&gt;&lt;authors&gt;&lt;= author&gt;Aho&lt;/author&gt;&lt;author&gt;Sethi&lt;/author&gt;&lt;author&= gt;Ullman&lt;/author&gt;&lt;/authors&gt;&lt;publishingInformation&gt;&lt;= publisher&gt;Addison-Wesley&lt;/publisher&gt;&lt;publishDate&gt;1985&lt;/= publishDate&gt;&lt;/publishingInformation&gt;&lt;/book&gt;&lt;/BooksNS:bo= okCollection&gt;</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D320544015-29122005>--------------</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D320544015-29122005></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D320544015-29122005>I will = strip off the=20 top XML node and the SOAPBody will contain the rest of the document. Are = there=20 any Axis utilities (or third party tools) to accomplish this? I would = prefer to=20 avoid parsing the document or using JDom to walk the nodes if at all=20 possible.&nbsp;</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D320544015-29122005></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D320544015-29122005>Thanks,</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D320544015-29122005>Ted=20 Jones</SPAN></FONT></DIV></BODY></HTML> ------_=_NextPart_001_01C60F03.D0225AA6-- From dharrison@example.net Sun Jan 01 18:47:17 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 92523 invoked from network); 1 Jan 2006 18:47:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2006 18:47:17 -0000 Received: (qmail 94206 invoked by uid 500); 1 Jan 2006 18:47:12 -0000 Delivered-To: dharrison@example.net Received: (qmail 93207 invoked by uid 500); 1 Jan 2006 18:47:09 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 93196 invoked by uid 99); 1 Jan 2006 18:47:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 10:47:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO SLNTEXG.metamatrix.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 10:47:08 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C60F03.F1FA8A6C" Subject: Convert a DOM Element to a SOAPElement Date: Sun, 1 Jan 2006 12:46:47 -0600 Message-ID: <dharrison@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Convert a DOM Element to a SOAPElement Thread-Index: AcYMwwkJkcNZ31/zRSyRkEGhvxL9IACQJ0pg From: "Ted Jones" <dharrison@example.net> To: <dharrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C60F03.F1FA8A6C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Does Axis provide a way to convert a DOM Element to a SOAP Element? =20 Thanks, Ted Jones ------_=_NextPart_001_01C60F03.F1FA8A6C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD> <BODY> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial size=3D2><SPAN=20 class=3D216355721-29122005>Does Axis provide a way to convert a DOM = Element to a=20 SOAP Element?</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D216355721-29122005></SPAN></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D216355721-29122005>Thanks,</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D216355721-29122005>Ted=20 Jones</SPAN></FONT></DIV></BODY></HTML> ------_=_NextPart_001_01C60F03.F1FA8A6C-- From dharrison@example.net Sun Jan 01 19:22:10 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 98083 invoked from network); 1 Jan 2006 19:22:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2006 19:22:09 -0000 Received: (qmail 13173 invoked by uid 500); 1 Jan 2006 19:22:04 -0000 Delivered-To: dharrison@example.net Received: (qmail 12198 invoked by uid 500); 1 Jan 2006 19:22:01 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 12186 invoked by uid 99); 1 Jan 2006 19:22:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 11:22:01 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=ADVANCE_FEE_1,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO www.troeng.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 11:21:59 -0800 In-Reply-To: <dharrison@example.net> To: dharrison@example.net Subject: RE: wsdl not necessary? MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.3 September 14, 2004 Message-ID: <dharrison@example.net> From: Henrik Troeng <dharrison@example.net> Date: Sun, 1 Jan 2006 20:32:14 +0100 X-MIMETrack: Serialize by Router on sthlm1-dmz/Troeng(Release 6.5.2|June 01, 2004) at 2006-01-01 20:32:40, Serialize complete at 2006-01-01 20:32:40 Content-Type: multipart/alternative; boundary="=_alternative 006A58F7C12570E9_=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 006A58F7C12570E9_= Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi, in an environment it is always good to have a wsdl to compile code with,=20 otherwise it is always a chance that elements and other data will be=20 missing in the communication, which sometimes also can be hard to find=20 out. With code generated from a wsdl, your application knows how to deserialize = objects, what data to use and even when data is missing it can throw an=20 exception. With code written "manually" there is always a risk that people = forget about validate the data before being sent. Also, when the business requirements changes over time, there is easy to=20 change a wsdl and update the server/client code with an automatic=20 generator, instead of rewriting of the code.. So even if you don=B4t need a wsdl from a technical point of view, you do=20 want to use one to be able to maintain your applications, and also to keep = the people implementing your services happy. Henrik dharrison@example.net=20 01-01-2006 15:08 Please respond to dharrison@example.net To dharrison@example.net cc Subject RE: wsdl not necessary? >-- Messaggio Originale -- >Reply-To: dharrison@example.net >Subject: RE: wsdl not necessary? >Date: Sun, 1 Jan 2006 12:53:44 -0000 >From: "James Waldrop" <dharrison@example.net> >To: <dharrison@example.net> > > >Well, of course you need the WSDL to initially develop the client. You >need something to feed to WSDL2Java, or whatever it is you're going to >do to end up with your SOAP layer (model & service objects). If you know >the URL of a service, you can often get the WSDL by appending ?WSDL to >the endpoint. Or, they may publish one. Just as an example, if you're >going to integrate with the Salesforce.com SOAP API's, there's a setup >page that allows you to generate a couple different WSDLs to use, >depending on your requirements. > >James > > >-----Original Message----- >-- Messaggio Originale -- >Reply-To: dharrison@example.net >Subject: RE: wsdl not necessary? >Date: Sun, 1 Jan 2006 12:53:44 -0000 >From: "James Waldrop" <dharrison@example.net> >To: <dharrison@example.net> > > >Well, of course you need the WSDL to initially develop the client. You >need something to feed to WSDL2Java, or whatever it is you're going to >do to end up with your SOAP layer (model & service objects). If you know >the URL of a service, you can often get the WSDL by appending ?WSDL to >the endpoint. Or, they may publish one. Just as an example, if you're >going to integrate with the Salesforce.com SOAP API's, there's a setup >page that allows you to generate a couple different WSDLs to use, >depending on your requirements. > ok you said that wsdl it is necessary to write the client but i don't=20 understand why axis2 examples as MyService.java with ping and echo method don't have it. And i don't understand why in this example the client EchoBlockingClient doesn't need any stub class too. Another important question is that if wsdl file it is necessary why there is not a tool to create it starting from java service interface. In axis (version 1) there is Java2Wsdl tool, why in axis 2 is absent? Can i use=20 that old tool and have my wsdl file or not? You said you created tha file by hand but i think for a newbie it is=20 impossbile. Thanks and excuse me for all these questions. =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F TISCALI ADSL Web&Mail Solo con Tiscali Adsl navighi e telefoni senza canone Telecom a partire da 14,95 Euro/mese. Attivala subito! Per te 500 MB inclusi per navigare, inviare e ricevere messaggi e-mail,=20 foto ed mp3. http://abbonati.tiscali.it/adsl/sa/2wam=5Ftc/ --=_alternative 006A58F7C12570E9_= Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable <br><font size=3D2 face=3D"sans-serif">Hi,</font> <br> <br><font size=3D2 face=3D"sans-serif">in an environment it is always good to have a wsdl to compile code with, otherwise it is always a chance that elements and other data will be missing in the communication, which sometim= es also can be hard to find out.</font> <br><font size=3D2 face=3D"sans-serif">With code generated from a wsdl, your application knows how to deserialize objects, what data to use and even when data is missing it can throw an exception. With code written &quot;man= ually&quot; there is always a risk that people forget about validate the data before being sent.</font> <br><font size=3D2 face=3D"sans-serif">Also, when the business requirements changes over time, there is easy to change a wsdl and update the server/cli= ent code with an automatic generator, instead of rewriting of the code..</font> <br> <br><font size=3D2 face=3D"sans-serif">So even if you don=B4t need a wsdl f= rom a technical point of view, you do want to use one to be able to maintain your applications, and also to keep the people implementing your services happy.</font> <br> <br><font size=3D2 face=3D"sans-serif">Henrik</font> <br> <br> <br> <br> <table width=3D100%> <tr valign=3Dtop> <td width=3D40%><font size=3D1 face=3D"sans-serif"><b>dharrison@example.net</b>= </font> <p><font size=3D1 face=3D"sans-serif">01-01-2006 15:08</font> <table border> <tr valign=3Dtop> <td bgcolor=3Dwhite> <div align=3Dcenter><font size=3D1 face=3D"sans-serif">Please respond to<br> dharrison@example.net</font></div></table> <br> <td width=3D59%> <table width=3D100%> <tr valign=3Dtop> <td> <div align=3Dright><font size=3D1 face=3D"sans-serif">To</font></div> <td><font size=3D1 face=3D"sans-serif">dharrison@example.net</font> <tr valign=3Dtop> <td> <div align=3Dright><font size=3D1 face=3D"sans-serif">cc</font></div> <td> <tr valign=3Dtop> <td> <div align=3Dright><font size=3D1 face=3D"sans-serif">Subject</font></div> <td><font size=3D1 face=3D"sans-serif">RE: wsdl not necessary?</font></tabl= e> <br> <table> <tr valign=3Dtop> <td> <td></table> <br></table> <br> <br> <br><font size=3D2><tt><br> &gt;-- Messaggio Originale --<br> &gt;Reply-To: dharrison@example.net<br> &gt;Subject: RE: wsdl not necessary?<br> &gt;Date: Sun, 1 Jan 2006 12:53:44 -0000<br> &gt;From: &quot;James Waldrop&quot; &lt;dharrison@example.net&gt;<br> &gt;To: &lt;dharrison@example.net&gt;<br> &gt;<br> &gt;<br> &gt;Well, of course you need the WSDL to initially develop the client. You<br> &gt;need something to feed to WSDL2Java, or whatever it is you're going to<br> &gt;do to end up with your SOAP layer (model &amp; service objects). If you know<br> &gt;the URL of a service, you can often get the WSDL by appending ?WSDL to<br> &gt;the endpoint. Or, they may publish one. Just as an example, if you're<b= r> &gt;going to integrate with the Salesforce.com SOAP API's, there's a setup<= br> &gt;page that allows you to generate a couple different WSDLs to use,<br> &gt;depending on your requirements.<br> &gt;<br> &gt;James<br> &gt;<br> &gt;<br> &gt;-----Original Message-----<br> <br> &gt;-- Messaggio Originale --<br> &gt;Reply-To: dharrison@example.net<br> &gt;Subject: RE: wsdl not necessary?<br> &gt;Date: Sun, 1 Jan 2006 12:53:44 -0000<br> &gt;From: &quot;James Waldrop&quot; &lt;dharrison@example.net&gt;<br> &gt;To: &lt;dharrison@example.net&gt;<br> &gt;<br> &gt;<br> &gt;Well, of course you need the WSDL to initially develop the client. You<br> &gt;need something to feed to WSDL2Java, or whatever it is you're going to<br> &gt;do to end up with your SOAP layer (model &amp; service objects). If you know<br> &gt;the URL of a service, you can often get the WSDL by appending ?WSDL to<br> &gt;the endpoint. Or, they may publish one. Just as an example, if you're<b= r> &gt;going to integrate with the Salesforce.com SOAP API's, there's a setup<= br> &gt;page that allows you to generate a couple different WSDLs to use,<br> &gt;depending on your requirements.<br> &gt;<br> <br> ok you said that wsdl it is necessary to write the client but i don't under= stand<br> why axis2 &nbsp;examples as MyService.java with ping and echo method don't have<br> it.<br> And i don't understand why in this example the client EchoBlockingClient<br> doesn't need any stub class too.<br> <br> Another important question is that if wsdl file it is necessary why there<b= r> is not a tool to create it starting from java service interface. In axis<br> (version 1) there is Java2Wsdl tool, why in axis 2 is absent? Can i use that<br> old tool and have my wsdl file or not?<br> You said you created tha file by hand but i think for a newbie it is impos= sbile.<br> Thanks and excuse me for all these questions.<br> <br> <br> <br> <br> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br> TISCALI ADSL Web&amp;Mail<br> Solo con Tiscali Adsl navighi e telefoni senza canone Telecom a partire da<br> 14,95 Euro/mese. Attivala subito!<br> Per te 500 MB inclusi per navigare, inviare e ricevere messaggi e-mail, foto<br> ed mp3.<br> http://abbonati.tiscali.it/adsl/sa/2wam=5Ftc/<br> <br> <br> <br> </tt></font> <br> --=_alternative 006A58F7C12570E9_=-- From dharrison@example.net Mon Jan 02 02:06:31 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 26704 invoked from network); 2 Jan 2006 02:06:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2006 02:06:31 -0000 Received: (qmail 19461 invoked by uid 500); 2 Jan 2006 02:06:22 -0000 Delivered-To: dharrison@example.net Received: (qmail 19449 invoked by uid 500); 2 Jan 2006 02:06:22 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 19438 invoked by uid 99); 2 Jan 2006 02:06:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 18:06:22 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO relay02.pair.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 01 Jan 2006 18:06:21 -0800 Received: (qmail 86794 invoked from network); 2 Jan 2006 02:05:59 -0000 Received: from unknown (HELO ?83.161.120.155?) (unknown) by unknown with SMTP; 2 Jan 2006 02:05:59 -0000 X-pair-Authenticated: 83.161.120.155 Message-ID: <dharrison@example.net> Date: Mon, 02 Jan 2006 08:05:38 +0600 From: Eran Chinthaka <dharrison@example.net> Reply-To: dharrison@example.net User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dharrison@example.net Subject: Re: Convert a DOM Element to a SOAPElement References: <dharrison@example.net> In-Reply-To: <dharrison@example.net> X-Enigmail-Version: 83.161.120.155 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N What version of Axis are u referring to, Axis 1.x or Axis2 ? Ted Jones wrote: >Does Axis provide a way to convert a DOM Element to a SOAP Element? > >Thanks, >Ted Jones > > > From dharrison@example.net Mon Jan 02 02:55:27 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 40884 invoked from network); 2 Jan 2006 02:55:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2006 02:55:27 -0000 Received: (qmail 35327 invoked by uid 500); 2 Jan 2006 02:55:19 -0000 Delivered-To: dharrison@example.net Received: (qmail 35306 invoked by uid 500); 2 Jan 2006 02:55:18 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 35295 invoked by uid 99); 2 Jan 2006 02:55:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 18:55:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dharrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 18:55:17 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EtFqS-0002KX-KD for dharrison@example.net; Mon, 02 Jan 2006 03:54:49 +0100 Received: from n25z190l80.broadband.ctm.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <dharrison@example.net>; Mon, 02 Jan 2006 03:54:48 +0100 Received: from kent by n25z190l80.broadband.ctm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <dharrison@example.net>; Mon, 02 Jan 2006 03:54:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dharrison@example.net From: Kent Tong <dharrison@example.net> Subject: Re: Axis client using ssl Date: Mon, 2 Jan 2006 02:54:33 +0000 (UTC) Lines: 14 Message-ID: <dharrison@example.net> References: <dharrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: dharrison@example.net X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.8) Gecko/20051111 Firefox/1.5) Sender: news <dharrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Richard S <s.richard <at> verchaska.com> writes: > > hi, > I need to establish axis client of ssl connection using axis1.2. I > need some documents or links in creating. Try: http://www.artima.com/forums/flat.jsp?forum=46&thread=106915 -- Author of a book for learning Apache Axis (http://www.agileskills2.org/DWSAA) From dharrison@example.net Mon Jan 02 02:59:57 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 41395 invoked from network); 2 Jan 2006 02:59:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2006 02:59:57 -0000 Received: (qmail 39704 invoked by uid 500); 2 Jan 2006 02:59:49 -0000 Delivered-To: dharrison@example.net Received: (qmail 39692 invoked by uid 500); 2 Jan 2006 02:59:48 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 39681 invoked by uid 99); 2 Jan 2006 02:59:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 18:59:48 -0800 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO rwcrmhc12.comcast.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 18:59:47 -0800 Received: from camelot (pcp09943985pcs.hyatsv01.md.comcast.net[83.161.120.155]) by comcast.net (rwcrmhc12) with SMTP id <20060102025926014008f2a5e>; Mon, 2 Jan 2006 02:59:26 +0000 From: "rmkellogg" <dharrison@example.net> To: <dharrison@example.net> Subject: RE: Axis client using ssl Date: Sun, 1 Jan 2006 21:59:25 -0500 Message-ID: <000001c60f48$8ac77ff0$0200a8c0@CAMELOT> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcYPR/jsPokDg+beQ3+LIqAMOE6iEAAAIkbw In-Reply-To: <dharrison@example.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Can you please add this to the Wiki? Thanks. -----Original Message----- From: news [mailto:dharrison@example.net] On Behalf Of Kent Tong Sent: Sunday, January 01, 2006 9:55 PM To: dharrison@example.net Subject: Re: Axis client using ssl Richard S <s.richard <at> verchaska.com> writes: > > hi, > I need to establish axis client of ssl connection using axis1.2. I > need some documents or links in creating. Try: http://www.artima.com/forums/flat.jsp?forum=46&thread=106915 -- Author of a book for learning Apache Axis (http://www.agileskills2.org/DWSAA) From dharrison@example.net Mon Jan 02 03:25:27 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 46930 invoked from network); 2 Jan 2006 03:25:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2006 03:25:27 -0000 Received: (qmail 49069 invoked by uid 500); 2 Jan 2006 03:25:19 -0000 Delivered-To: dharrison@example.net Received: (qmail 49045 invoked by uid 500); 2 Jan 2006 03:25:18 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 49034 invoked by uid 99); 2 Jan 2006 03:25:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 19:25:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dharrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 19:25:17 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EtGJV-0007YG-Ms for dharrison@example.net; Mon, 02 Jan 2006 04:24:50 +0100 Received: from n25z191l193.broadband.ctm.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <dharrison@example.net>; Mon, 02 Jan 2006 04:24:49 +0100 Received: from kent by n25z191l193.broadband.ctm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <dharrison@example.net>; Mon, 02 Jan 2006 04:24:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dharrison@example.net From: Kent Tong <dharrison@example.net> Subject: Re: logging using log4j Date: Mon, 2 Jan 2006 03:24:42 +0000 (UTC) Lines: 14 Message-ID: <dharrison@example.net> References: <dharrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: dharrison@example.net X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.8) Gecko/20051111 Firefox/1.5) Sender: news <dharrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Christopher Cheng <mylist <at> chrishome.com> writes: > I was trying to log the envelope/payloads of all soap messages > to a file using log4j, but it seems that it doesn't work. Can anybody > point out what's wrong with my configuration? If you need it on the client side, set the log level to debug (but it will log a lot other info). If you just want the soap mesages, use the org.apache.axis.handlers.LogHandler. -- Author of a book for learning Apache Axis (http://www.agileskills2.org/DWSAA) From dharrison@example.net Mon Jan 02 08:04:42 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 22088 invoked from network); 2 Jan 2006 08:04:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2006 08:04:41 -0000 Received: (qmail 97956 invoked by uid 500); 2 Jan 2006 08:04:32 -0000 Delivered-To: dharrison@example.net Received: (qmail 97941 invoked by uid 500); 2 Jan 2006 08:04:32 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 97930 invoked by uid 99); 2 Jan 2006 08:04:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2006 00:04:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dharrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO xproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2006 00:04:31 -0800 Received: by xproxy.gmail.com with SMTP id s10so1810326wxc for <dharrison@example.net>; Mon, 02 Jan 2006 00:04:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=cNeXtPyqhWG9eoFTKcNafOCc+oZpp+3BJNYzxWHkICuCdUKNjGdyrBnPkM8SFwUyQOsyBQf7egEVMzKGq9zVYfG7O/crEM6YtPpiav5kjM+yCZqbNwgYz7i/1aSVkw4DDFYoy/mwFcmD+IxsVYyBNtRpg/VKq2KFB8okIRyLwHM= Received: by 83.161.120.155 with SMTP id 4mr10666528wxh; Mon, 02 Jan 2006 00:04:10 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 2 Jan 2006 00:04:10 -0800 (PST) Message-ID: <dharrison@example.net> Date: Mon, 2 Jan 2006 10:04:10 +0200 From: Barak Bar Orion <dharrison@example.net> To: dharrison@example.net Subject: User defined fault help MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9061_20571476.1136189050606" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_9061_20571476.1136189050606 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I am using axis to write a web server that will be access mostly from .Net clients. Therefore I write the wsdl manually use wsdl2java to produce the java classes for my value objects the stub and the skeleton. I am trying to define a fault for each of my server errors in such why that my server will throw the faults to the .Net client. I didn't found an example of such thing in the sample dir. This is what I did (not working) WSDL: <definitions <types> <schema ... <element name=3D3D"APIException"> <complexType> <all> <element name=3D3D"errorCode" type=3D3D"long"/> <element name=3D3D"description" type=3D3D"string" nillable=3D3D"true"/> </all> </complexType> </element> </schema> </types> <message name=3D3D"APIExceptionMessage"> <part name=3D3D"fault" element=3D3D"s:APIException"/> </message> <portType name=3D3D"myPort"> <operation name=3D3D"linkAssetToCategory"> <input message=3D3D"tns:linkAssetToCategoryRequest"/> <output message=3D3D"tns:linkAssetToCategoryResponse"/> <fault name=3D3D"APIException" message=3D3D"tns:APIExceptionMess= age=3D "/> </operation> </portType> <binding .... <operation name=3D3D"linkAssetToCategory"> <soap:operation soapAction=3D3D"http://soapinterop.org/"/<http://soapinterop.org/%22/> > <input> <soap:body use=3D3D"encoded" namespace=3D3D"http://soapinter= op.=3D org/" encodingStyle=3D3D" http://schemas.xmlsoap.org/soap/encoding/"/<http://schemas.xmlsoap.org/soap= /encoding/%22/> > </input> <output> <soap:body use=3D3D"encoded" namespace=3D3D"http://soapinter= op.=3D org/" encodingStyle=3D3D" http://schemas.xmlsoap.org/soap/encoding/"/<http://schemas.xmlsoap.org/soap= /encoding/%22/> > </output> <fault name=3D3D"APIException"> <soap:fault encodingStyle=3D3D" http://schemas.xmlsoap.org/soap/encoding/"<http://schemas.xmlsoap.org/soap/= encoding/%22> namespace=3D3D"s:APIException" use=3D3D"encoded" name=3D3D"APIException"/> </fault> </operation> </binding> </definitions> deploy.wsdd: <deployment ... <service ... <typeMapping xmlns:ns=3D3D"http://soap.dalet.com/" qname=3D3D"ns:APIException" type=3D3D"java:com.dalet.soap.APIException" serializer=3D3D" org.apache.axis.encoding.ser.ArraySerializerFactory" deserializer=3D3D" org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle=3D3D"http://schemas.xmlsoap.org/soap/encoding/= " /> <operation name=3D3D"linkAssetToCategory" returnQName=3D3D"return" returnType=3D3D"dalet:ArrayOflong" xmlns:dalet=3D3D"http://soap.dalet.com/" xmlns:xsd=3D3D"http://www.w3.org/2001/XMLSchema"> <part name=3D3D"assetId" type=3D3D"xsd:long"/> <part name=3D3D"categoryId" type=3D3D"xsd:long"/> fault class=3D3D"com.dalet.soap.APIException" /> </operation> When I deploy this one I got axis error because the deployment of linkAssetToCategory does not match the wsdl definition. However I could not understand what is wrong. -- Barak Bar Orion ------=_Part_9061_20571476.1136189050606 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <span class=3D"q">I am using axis to write a web server that will be access= mostly from .Net<br>clients.<br>Therefore I write the wsdl manually use ws= dl2java to produce the java<br>classes for my value objects the stub and th= e skeleton. <br>I am trying to define a fault for each of my server errors in such why = that<br>my server will throw the faults to the .Net client.<br>I didn't fou= nd an example of such thing in the sample dir.<br><br>This is what I did (n= ot working) <br><br>WSDL:<br>&lt;definitions<br>&lt;types&gt;<br> &nbsp; &nbsp; &nbsp; = &nbsp;&lt;schema ...<br></span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&l= t;element name=3D3D&quot;APIException&quot;&gt;<br> &nbsp; &nbsp; &nbsp; &n= bsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;complexType&gt;<br> &nbsp; &nbsp; &nbsp= ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;all&gt;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs= p; &nbsp;&lt;element name=3D3D&quot;errorCode&quot; type=3D3D&quot;long&quo= t;/&gt;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = &nbsp; &nbsp; &nbsp;&lt;element name=3D3D&quot;description&quot; type=3D3D&= quot;string&quot;<br>nillable=3D3D&quot;true&quot;/&gt; <br><span class=3D"q"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb= sp; &nbsp; &nbsp;&lt;/all&gt;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= &nbsp; &nbsp;&lt;/complexType&gt;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &= nbsp;&lt;/element&gt;<br> &nbsp;&lt;/schema&gt;<br>&lt;/types&gt;<br><br></= span> &nbsp; &nbsp;&lt;message name=3D3D&quot;APIExceptionMessage&quot;&gt; <br> &nbsp; &nbsp; &nbsp; &nbsp;&lt;part name=3D3D&quot;fault&quot; element= =3D3D&quot;s:APIException&quot;/&gt;<br> &nbsp; &nbsp;&lt;/message&gt;<br><= br> &nbsp; &lt;portType name=3D3D&quot;myPort&quot;&gt;<br> &nbsp; &nbsp; &= nbsp; &nbsp;&lt;operation name=3D3D&quot;linkAssetToCategory&quot;&gt; <br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;input message=3D3D&quot;t= ns:linkAssetToCate<div id=3D"mb_1">goryRequest&quot;/&gt;<br> &nbsp; &nbsp;= &nbsp; &nbsp; &nbsp; &nbsp;&lt;output message=3D3D&quot;tns:linkAssetToCat= egoryResponse&quot;/&gt;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;f= ault name=3D3D&quot;APIException&quot; message=3D3D&quot;tns:APIExceptionMe= ssage=3D <br>&quot;/&gt;<br> &nbsp; &nbsp; &nbsp; &nbsp;&lt;/operation&gt;<br>&nbsp;= &lt;/portType&gt;<br><br> &nbsp; &nbsp;&lt;binding ....<br> &nbsp; &nbsp; &= nbsp; &nbsp;&lt;operation name=3D3D&quot;linkAssetToCategory&quot;&gt;<br> = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;soap:operation soapAction=3D3D= &quot;<a onclick=3D"return top.js.OpenExtLink(window,event,this)" href=3D"h= ttp://soapinterop.org/%22/" target=3D"_blank"> http://soapinterop.org/&quot;/</a>&gt;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbs= p; &nbsp;&lt;input&gt;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= &nbsp;&lt;soap:body use=3D3D&quot;encoded&quot; namespace=3D3D&quot;<a onc= lick=3D"return top.js.OpenExtLink(window,event,this)" href=3D"http://soapin= terop.=3Dorg/" target=3D"_blank"> http://soapinterop.=3D<br>org/</a>&quot;<br> &nbsp; &nbsp; &nbsp; &nbsp; &n= bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; encodingStyle= =3D3D&quot;<br><span class=3D"q"><a onclick=3D"return top.js.OpenExtLink(wi= ndow,event,this)" href=3D"http://schemas.xmlsoap.org/soap/encoding/%22/" ta= rget=3D"_blank"> http://schemas.xmlsoap.org/soap/encoding/&quot;/</a>&gt;<br> &nbsp; &nbsp; = &nbsp; &nbsp; &nbsp; &nbsp;&lt;/input&gt;<br> &nbsp; &nbsp; &nbsp; &nbsp; &= nbsp; &nbsp;&lt;output&gt;<br></span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &n= bsp; &nbsp; &nbsp;&lt;soap:body use=3D3D&quot;encoded&quot; namespace=3D3D&= quot;<a onclick=3D"return top.js.OpenExtLink(window,event,this)" href=3D"ht= tp://soapinterop.=3Dorg/" target=3D"_blank"> http://soapinterop.=3D<br>org/</a>&quot;<br> &nbsp; &nbsp; &nbsp; &nbsp; &n= bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; encodingStyle= =3D3D&quot;<br><span class=3D"q"><a onclick=3D"return top.js.OpenExtLink(wi= ndow,event,this)" href=3D"http://schemas.xmlsoap.org/soap/encoding/%22/" ta= rget=3D"_blank"> http://schemas.xmlsoap.org/soap/encoding/&quot;/</a>&gt;<br> &nbsp; &nbsp; = &nbsp; &nbsp; &nbsp; &nbsp;&lt;/output&gt;<br></span> &nbsp; &nbsp; &nbsp; = &nbsp; &nbsp; &nbsp;&lt;fault name=3D3D&quot;APIException&quot;&gt;<br> &nb= sp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;soap:fault encoding= Style=3D3D&quot;<br><span class=3D"q"> <a onclick=3D"return top.js.OpenExtLink(window,event,this)" href=3D"http://= schemas.xmlsoap.org/soap/encoding/%22" target=3D"_blank">http://schemas.xml= soap.org/soap/encoding/&quot;</a><br></span> &nbsp; &nbsp; &nbsp; &nbsp; &n= bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;namespac= e=3D3D&quot;s:APIException&quot; use=3D3D&quot;encoded&quot; <br>name=3D3D&quot;APIException&quot;/&gt;<br><span class=3D"q"> &nbsp; &nb= sp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/fault&gt;<br> &nbsp; &nbsp; &nbsp; &nbs= p;&lt;/operation&gt;<br>&lt;/binding&gt;<br>&lt;/definitions&gt;<br><br><br= >deploy.wsdd:<br><br>&lt;deployment ...<br> &nbsp;&lt;service ... <br> &nbsp; &nbsp;&lt;typeMapping<br></span> &nbsp; &nbsp; &nbsp; &nbsp; &n= bsp; &nbsp; &nbsp; &nbsp;xmlns:ns=3D3D&quot;<a onclick=3D"return top.js.Ope= nExtLink(window,event,this)" href=3D"http://soap.dalet.com/" target=3D"_bla= nk">http://soap.dalet.com/</a>&quot;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= &nbsp; &nbsp; &nbsp;qname=3D3D&quot;ns:APIException&quot; <br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;type=3D3D&quot;= java:com.dalet.soap.APIException&quot;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbs= p; &nbsp; &nbsp; &nbsp;serializer=3D3D&quot;<br><span class=3D"q">org.apach= e.axis.encoding.ser.ArraySerializerFactory&quot;<br></span> &nbsp; &nbsp; &= nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;deserializer=3D3D&quot; <br><span class=3D"q">org.apache.axis.encoding.ser.ArrayDeserializerFactory= &quot;<br></span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;en= codingStyle=3D3D&quot;<a onclick=3D"return top.js.OpenExtLink(window,event,= this)" href=3D"http://schemas.xmlsoap.org/soap/encoding/" target=3D"_blank"= > http://schemas.xmlsoap.org/soap/encoding/</a>&quot;<br> &nbsp; &nbsp; &nbsp= ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/&gt;<br> &nbsp; &nbsp; &nbsp; &nbsp;&l= t;operation name=3D3D&quot;linkAssetToCategory&quot; returnQName=3D3D&quot;= return&quot;<br>returnType=3D3D&quot;dalet:ArrayOflong&quot;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xmlns:dalet= =3D3D&quot;<a onclick=3D"return top.js.OpenExtLink(window,event,this)" href= =3D"http://soap.dalet.com/" target=3D"_blank">http://soap.dalet.com/</a>&qu= ot;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs= p;xmlns:xsd=3D3D&quot;<a onclick=3D"return top.js.OpenExtLink(window,event,= this)" href=3D"http://www.w3.org/2001/XMLSchema" target=3D"_blank"> http://www.w3.org/2001/XMLSchema</a>&quot;&gt;<br> &nbsp; &nbsp; &nbsp; &nb= sp; &nbsp; &nbsp;&lt;part name=3D3D&quot;assetId&quot; type=3D3D&quot;xsd:l= ong&quot;/&gt;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;part name= =3D3D&quot;categoryId&quot; type=3D3D&quot;xsd:long&quot;/&gt;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fault class=3D3D&quot;com.dalet.s= oap.APIException&quot; /&gt;<br><span class=3D"q"> &nbsp; &nbsp; &nbsp; &nb= sp;&lt;/operation&gt;<br><br>When I deploy this one I got axis error becaus= e the deployment of<br>linkAssetToCategory does not match the wsdl definiti= on. <br>However I could not understand what is wrong.<br></span></div><br clear= =3D"all"><br>-- <br>Barak Bar Orion ------=_Part_9061_20571476.1136189050606-- From dharrison@example.net Mon Jan 02 13:12:00 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 57160 invoked from network); 2 Jan 2006 13:12:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2006 13:12:00 -0000 Received: (qmail 12979 invoked by uid 500); 2 Jan 2006 13:11:53 -0000 Delivered-To: dharrison@example.net Received: (qmail 11983 invoked by uid 500); 2 Jan 2006 13:11:50 -0000 Mailing-List: contact dharrison@example.net; run by ezmlm Precedence: bulk Reply-To: dharrison@example.net list-help: <mailto:dharrison@example.net> list-unsubscribe: <mailto:dharrison@example.net> List-Post: <mailto:dharrison@example.net> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dharrison@example.net Received: (qmail 11972 invoked by uid 99); 2 Jan 2006 13:11:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2006 05:11:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dharrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2006 05:11:48 -0800 Received: by nproxy.gmail.com with SMTP id c29so801001nfb for <dharrison@example.net>; Mon, 02 Jan 2006 05:11:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=d4xpoPCT/O+MCFjsdtFBaNcHZ78Batr8Vt3KfoBNOYmMWxDZAPjfhtuobSj0yyr4MHrNQ8Xl7oetQigmLBHSpJzaGW0o428Z2KxZqKRvrHnUwrScngAkm5PV+euICPxsDT+ywKyrYZdNFLkQ5+SOiIij76OnT0KHU6xelFAHZ7Y= Received: by 83.161.120.155 with SMTP id l10mr502063nfe; Mon, 02 Jan 2006 05:11:26 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 2 Jan 2006 05:11:26 -0800 (PST) Message-ID: <dharrison@example.net> Date: Mon, 2 Jan 2006 14:11:26 +0100 From: vincent le squere <dharrison@example.net> To: dharrison@example.net Subject: [axis2] wdsl2java generation MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, you can see below my wsdl file. There are some commented lines, if i uncomment them the generation fail with a nullPointerException at : org.apache.axis2.wsdl.builder.wsdl4j.WSDLPump.generateReferenceQName and i've any idea why... Someone could help me ? thanks <?xml version=3D"1.0" encoding=3D"UTF-8"?> <wsdl:definitions =09targetNamespace=3D"http://intCoriolis.sismer.ifremer.com" =09xmlns=3D"http://schemas.xmlsoap.org/wsdl/" =09xmlns:apachesoap=3D"http://xml.apache.org/xml-soap" =09xmlns:impl=3D"http://intCoriolis.sismer.ifremer.com-impl" =09xmlns:intf=3D"http://intCoriolis.sismer.ifremer.com" =09xmlns:soapenc=3D"http://schemas.xmlsoap.org/soap/encoding/" =09xmlns:wsdl=3D"http://schemas.xmlsoap.org/wsdl/" =09xmlns:wsdlsoap=3D"http://schemas.xmlsoap.org/wsdl/soap/" =09xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"> <wsdl:types/> <wsdl:message name=3D"getCriteresSpecifiquesResponse"> <wsdl:part name=3D"getCriteresSpecifiquesReturn" type=3D"xsd:string"/= > </wsdl:message> <wsdl:message name=3D"extraireDonneesResponse"> <wsdl:part name=3D"extraireDonneesReturn" type=3D"xsd:string"/> </wsdl:message> <wsdl:message name=3D"executerRequeteRequest"> <wsdl:part name=3D"p_requete" type=3D"xsd:string"/> <!--<wsdl:part name=3D"p_codeBase" type=3D"xsd:string"/>--> </wsdl:message> <wsdl:message name=3D"extraireDonneesRequest"> <wsdl:part name=3D"p_requete" type=3D"xsd:string"/> <!--<wsdl:part name=3D"p_format" type=3D"xsd:string"/> <wsdl:part name=3D"p_codeBase" type=3D"xsd:string"/>--> </wsdl:message> <wsdl:message name=3D"executerRequeteResponse"> <wsdl:part name=3D"executerRequeteReturn" type=3D"xsd:string"/> </wsdl:message> <wsdl:message name=3D"getCriteresSpecifiquesRequest"> <wsdl:part name=3D"p_codeBase" type=3D"xsd:string"/> </wsdl:message> <wsdl:portType name=3D"Integrateur"> <wsdl:operation name=3D"executerRequete" parameterOrder=3D"p_requete p_codeBase"> <wsdl:input message=3D"intf:executerRequeteRequest" name=3D"executerRequeteRequest"/> <wsdl:output message=3D"intf:executerRequeteResponse" name=3D"executerRequeteResponse"/> </wsdl:operation> <wsdl:operation name=3D"extraireDonnees" parameterOrder=3D"p_requete p_format p_codeBase"> <wsdl:input message=3D"intf:extraireDonneesRequest" name=3D"extraireDonneesRequest"/> <wsdl:output message=3D"intf:extraireDonneesResponse" name=3D"extraireDonneesResponse"/> </wsdl:operation> <wsdl:operation name=3D"getCriteresSpecifiques" parameterOrder=3D"p_c= odeBase"> <wsdl:input message=3D"intf:getCriteresSpecifiquesRequest" name=3D"getCriteresSpecifiquesRequest"/> <wsdl:output message=3D"intf:getCriteresSpecifiquesResponse" name=3D"getCriteresSpecifiquesResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name=3D"IntegrateurSoapBinding" type=3D"intf:Integrateur"> <wsdlsoap:binding style=3D"rpc" transport=3D"http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name=3D"executerRequete"> <wsdlsoap:operation soapAction=3D""/> <wsdl:input name=3D"executerRequeteRequest"> <wsdlsoap:body encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/" namespace=3D"http://intCoriolis.sismer.ifremer.com" use=3D"literal"/> </wsdl:input> <wsdl:output name=3D"executerRequeteResponse"> <wsdlsoap:body encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/" namespace=3D"http://intCoriolis.sismer.ifremer.com" use=3D"literal"/> </wsdl:output> </wsdl:operation> <wsdl:operation name=3D"extraireDonnees"> <wsdlsoap:operation soapAction=3D""/> <wsdl:input name=3D"extraireDonneesRequest"> <wsdlsoap:body encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/" namespace=3D"http://intCoriolis.sismer.ifremer.com" use=3D"literal"/> </wsdl:input> <wsdl:output name=3D"extraireDonneesResponse"> <wsdlsoap:body encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/" namespace=3D"http://intCoriolis.sismer.ifremer.com" use=3D"literal"/> </wsdl:output> </wsdl:operation> <wsdl:operation name=3D"getCriteresSpecifiques"> <wsdlsoap:operation soapAction=3D""/> <wsdl:input name=3D"getCriteresSpecifiquesRequest"> <wsdlsoap:body encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/" namespace=3D"http://intCoriolis.sismer.ifremer.com" use=3D"literal"/> </wsdl:input> <wsdl:output name=3D"getCriteresSpecifiquesResponse"> <wsdlsoap:body encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/" namespace=3D"http://intCoriolis.sismer.ifremer.com" use=3D"literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name=3D"IntegrateurService"> <wsdl:port binding=3D"intf:IntegrateurSoapBinding" name=3D"Integrateu= r"> <wsdlsoap:address location=3D"http://localhost:8081/integrateur/services/Integrateur"/> </wsdl:port> </wsdl:service> </wsdl:definitions> From dharrison@example.net Mon Jan 02 14:27:16 2006 Return-Path: <dharrison@example.net> Delivered-To: dharrison@example.net Received: (qmail 97698 invoked from network); 2 Jan 2006 14:27:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by
{'source': 'Apache Software Foundation Public Mail Archives'}