RE: Send direct XML rather than using Java classes
Re hello.. ;) Ok just to say i found out my problem. Following this example http://users.skynet.be/pascalbotte/rcx-ws-doc/saajpost.htm, I added those 2 lines and now it works with jre1.5 and 1.6. MimeHeaders hd = msg.getMimeHeaders(); hd.addHeader("SOAPAction", urlOfMyAction); Thx to all Jack -Message d'origine- De : Jacky Rymasz-Maillot [mailto:[EMAIL PROTECTED] Envoyé : lundi 23 juin 2008 10:06 À : Martin; axis-user@ws.apache.org Objet : RE: Send direct XML rather than using Java classes Hello, I'm not using AS8.2. My Client application is an applet (It can also be delivered to customer as a standalone application) sending request to a server application deployed on Tomcat 5.5.12. Both are using Axis 1.4 to communicate and both have been deployed and compiled with jdk1.5.06. It would be very too restrictive to tell users to use jre1.5 or to manipulate jars (since most of them don't even know what is JRE or Java or JDK) I keep searching info about that on Internet but still haven't found a solution. Jack -Message d'origine- De : Martin [mailto:[EMAIL PROTECTED] Envoyé : dimanche 22 juin 2008 02:21 À : axis-user@ws.apache.org; Jacky Rymasz-Maillot Objet : Re: Send direct XML rather than using Java classes I assume you're using AS 8.2 ? There is an open bug with SAAJ 1.3 in JDK 8 which suggests 1. saaj jar files must be placed in the AS 8.2 EE's classpath via the Admin Console. (details to follow) 2. saaj system properties must be set in AS via the Admin Console. (details to follow) 3. saaj jar files must be in the java runtime env for SR clients (details to follow) http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6463868 Martin - Original Message - From: "Anne Thomas Manes" <[EMAIL PROTECTED]> To: Sent: Saturday, June 21, 2008 7:29 AM Subject: Re: Send direct XML rather than using Java classes I believe that JDK6 includes Sun's implementation of SAAJ, which might be slightly different from Axis. I recommend you search for Sun's documentation. Anne On Fri, Jun 20, 2008 at 5:36 AM, Jacky Rymasz-Maillot <[EMAIL PROTECTED]> wrote: > Hello again. > I created a client sending Axis request XML using SAAJ as explained into > the link. > I developed my client with Eclipse with JDK1.5 and everything works fine. > > My problem now is that when my client runs with JRE1.6, I have this > response: > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; > xmlns:xsd="http://www.w3.org/2001/XMLSchema"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> > > >xmlns:ns1="http://xml.apache.org/axis/";>ns1:Client.NoSOAPAction > no SOAPAction header! > > xmlns:ns2="http://xml.apache.org/axis/";>qa4201.fr.webraska.com > > > > > > I have to force my client to use JDK1.5 to make it work fine. > Is there a way so that my client can be run with JDK1.5 or above (jre1.6 > for ex)? > > Thx, > > Jack > > > > > -Message d'origine- > De : Jacky Rymasz-Maillot > Envoyé : mardi 17 juin 2008 09:45 > À : axis-user@ws.apache.org > Objet : RE: Send direct XML rather than using Java classes > > Thanks alot. > It works fine ;) > > Jack > > -Message d'origine- > De : Anne Thomas Manes [mailto:[EMAIL PROTECTED] > Envoyé : lundi 16 juin 2008 19:31 > À : axis-user@ws.apache.org > Objet : Re: Send direct XML rather than using Java classes > > Use the SAAJ API. See > http://users.skynet.be/pascalbotte/rcx-ws-doc/saajpost.htm for > samples. > > Anne > > On Mon, Jun 16, 2008 at 11:04 AM, Jacky Rymasz-Maillot > <[EMAIL PROTECTED]> wrote: >> I am using actually Axis 1.4. >> Is it still possible? If so, where can I find an example? >> Thank you for all your answer ;) >> >> Jack >> >> -Message d'origine- >> De : Paul Fremantle [mailto:[EMAIL PROTECTED] >> Envoyé : lundi 16 juin 2008 16:36 >> À : axis-user@ws.apache.org >> Objet : Re: Send direct XML rather than using Java classes >> >> Jacky >> >> Sure. If you use Axis2 it was designed this way. The Java classes >> model is actually just a separate layer on top of the core XML >> messaging layer. >> >> You just need to look at the ServiceClient API. The XML is represented >> in Axis2 as an OMElement. >> >> Paul >> >> 2008/6/16 Jacky Rymasz-Maillot <[EMAIL PROTECTED]>: >>> Hello, >>> >>> >>> >>> I would like to know if it is possible to send a WSDL request directly >>> without using Java classes to create t
RE: Send direct XML rather than using Java classes
Hello, I'm not using AS8.2. My Client application is an applet (It can also be delivered to customer as a standalone application) sending request to a server application deployed on Tomcat 5.5.12. Both are using Axis 1.4 to communicate and both have been deployed and compiled with jdk1.5.06. It would be very too restrictive to tell users to use jre1.5 or to manipulate jars (since most of them don't even know what is JRE or Java or JDK) I keep searching info about that on Internet but still haven't found a solution. Jack -Message d'origine- De : Martin [mailto:[EMAIL PROTECTED] Envoyé : dimanche 22 juin 2008 02:21 À : axis-user@ws.apache.org; Jacky Rymasz-Maillot Objet : Re: Send direct XML rather than using Java classes I assume you're using AS 8.2 ? There is an open bug with SAAJ 1.3 in JDK 8 which suggests 1. saaj jar files must be placed in the AS 8.2 EE's classpath via the Admin Console. (details to follow) 2. saaj system properties must be set in AS via the Admin Console. (details to follow) 3. saaj jar files must be in the java runtime env for SR clients (details to follow) http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6463868 Martin - Original Message - From: "Anne Thomas Manes" <[EMAIL PROTECTED]> To: Sent: Saturday, June 21, 2008 7:29 AM Subject: Re: Send direct XML rather than using Java classes I believe that JDK6 includes Sun's implementation of SAAJ, which might be slightly different from Axis. I recommend you search for Sun's documentation. Anne On Fri, Jun 20, 2008 at 5:36 AM, Jacky Rymasz-Maillot <[EMAIL PROTECTED]> wrote: > Hello again. > I created a client sending Axis request XML using SAAJ as explained into > the link. > I developed my client with Eclipse with JDK1.5 and everything works fine. > > My problem now is that when my client runs with JRE1.6, I have this > response: > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; > xmlns:xsd="http://www.w3.org/2001/XMLSchema"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> > > >xmlns:ns1="http://xml.apache.org/axis/";>ns1:Client.NoSOAPAction > no SOAPAction header! > > xmlns:ns2="http://xml.apache.org/axis/";>qa4201.fr.webraska.com > > > > > > I have to force my client to use JDK1.5 to make it work fine. > Is there a way so that my client can be run with JDK1.5 or above (jre1.6 > for ex)? > > Thx, > > Jack > > > > > -Message d'origine- > De : Jacky Rymasz-Maillot > Envoyé : mardi 17 juin 2008 09:45 > À : axis-user@ws.apache.org > Objet : RE: Send direct XML rather than using Java classes > > Thanks alot. > It works fine ;) > > Jack > > -Message d'origine- > De : Anne Thomas Manes [mailto:[EMAIL PROTECTED] > Envoyé : lundi 16 juin 2008 19:31 > À : axis-user@ws.apache.org > Objet : Re: Send direct XML rather than using Java classes > > Use the SAAJ API. See > http://users.skynet.be/pascalbotte/rcx-ws-doc/saajpost.htm for > samples. > > Anne > > On Mon, Jun 16, 2008 at 11:04 AM, Jacky Rymasz-Maillot > <[EMAIL PROTECTED]> wrote: >> I am using actually Axis 1.4. >> Is it still possible? If so, where can I find an example? >> Thank you for all your answer ;) >> >> Jack >> >> -Message d'origine- >> De : Paul Fremantle [mailto:[EMAIL PROTECTED] >> Envoyé : lundi 16 juin 2008 16:36 >> À : axis-user@ws.apache.org >> Objet : Re: Send direct XML rather than using Java classes >> >> Jacky >> >> Sure. If you use Axis2 it was designed this way. The Java classes >> model is actually just a separate layer on top of the core XML >> messaging layer. >> >> You just need to look at the ServiceClient API. The XML is represented >> in Axis2 as an OMElement. >> >> Paul >> >> 2008/6/16 Jacky Rymasz-Maillot <[EMAIL PROTECTED]>: >>> Hello, >>> >>> >>> >>> I would like to know if it is possible to send a WSDL request directly >>> without using Java classes to create the request. >>> >>> Let's say I want to create a WSDL request (XML format) into a text >>> editor >>> and send the resulting String to my server without using the generated >>> Java >>> classes from Axis. >>> >>> >>> >>> What I want looks like that but for SOAP: >>> >>> http://users.skynet.be/pascalbotte/rcx-ws-doc/xmlpost.htm >>> >>> >>> >>> Is it possible? >>> >>> >>> >>> Thx >
Re: Send direct XML rather than using Java classes
I assume you're using AS 8.2 ? There is an open bug with SAAJ 1.3 in JDK 8 which suggests 1. saaj jar files must be placed in the AS 8.2 EE's classpath via the Admin Console. (details to follow) 2. saaj system properties must be set in AS via the Admin Console. (details to follow) 3. saaj jar files must be in the java runtime env for SR clients (details to follow) http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6463868 Martin - Original Message - From: "Anne Thomas Manes" <[EMAIL PROTECTED]> To: Sent: Saturday, June 21, 2008 7:29 AM Subject: Re: Send direct XML rather than using Java classes I believe that JDK6 includes Sun's implementation of SAAJ, which might be slightly different from Axis. I recommend you search for Sun's documentation. Anne On Fri, Jun 20, 2008 at 5:36 AM, Jacky Rymasz-Maillot <[EMAIL PROTECTED]> wrote: Hello again. I created a client sending Axis request XML using SAAJ as explained into the link. I developed my client with Eclipse with JDK1.5 and everything works fine. My problem now is that when my client runs with JRE1.6, I have this response: xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> xmlns:ns1="http://xml.apache.org/axis/";>ns1:Client.NoSOAPAction no SOAPAction header! xmlns:ns2="http://xml.apache.org/axis/";>qa4201.fr.webraska.com I have to force my client to use JDK1.5 to make it work fine. Is there a way so that my client can be run with JDK1.5 or above (jre1.6 for ex)? Thx, Jack -Message d'origine- De : Jacky Rymasz-Maillot Envoyé : mardi 17 juin 2008 09:45 À : axis-user@ws.apache.org Objet : RE: Send direct XML rather than using Java classes Thanks alot. It works fine ;) Jack -Message d'origine- De : Anne Thomas Manes [mailto:[EMAIL PROTECTED] Envoyé : lundi 16 juin 2008 19:31 À : axis-user@ws.apache.org Objet : Re: Send direct XML rather than using Java classes Use the SAAJ API. See http://users.skynet.be/pascalbotte/rcx-ws-doc/saajpost.htm for samples. Anne On Mon, Jun 16, 2008 at 11:04 AM, Jacky Rymasz-Maillot <[EMAIL PROTECTED]> wrote: I am using actually Axis 1.4. Is it still possible? If so, where can I find an example? Thank you for all your answer ;) Jack -Message d'origine- De : Paul Fremantle [mailto:[EMAIL PROTECTED] Envoyé : lundi 16 juin 2008 16:36 À : axis-user@ws.apache.org Objet : Re: Send direct XML rather than using Java classes Jacky Sure. If you use Axis2 it was designed this way. The Java classes model is actually just a separate layer on top of the core XML messaging layer. You just need to look at the ServiceClient API. The XML is represented in Axis2 as an OMElement. Paul 2008/6/16 Jacky Rymasz-Maillot <[EMAIL PROTECTED]>: Hello, I would like to know if it is possible to send a WSDL request directly without using Java classes to create the request. Let's say I want to create a WSDL request (XML format) into a text editor and send the resulting String to my server without using the generated Java classes from Axis. What I want looks like that but for SOAP: http://users.skynet.be/pascalbotte/rcx-ws-doc/xmlpost.htm Is it possible? Thx Jack No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 17:52 -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 17:52 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 17:52 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 17:52 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 17:52 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.4.1/1510 - Release Date: 19/06/2008 15:21
Re: Send direct XML rather than using Java classes
I believe that JDK6 includes Sun's implementation of SAAJ, which might be slightly different from Axis. I recommend you search for Sun's documentation. Anne On Fri, Jun 20, 2008 at 5:36 AM, Jacky Rymasz-Maillot <[EMAIL PROTECTED]> wrote: > Hello again. > I created a client sending Axis request XML using SAAJ as explained into the > link. > I developed my client with Eclipse with JDK1.5 and everything works fine. > > My problem now is that when my client runs with JRE1.6, I have this response: > > http://schemas.xmlsoap.org/soap/envelope/"; > xmlns:xsd="http://www.w3.org/2001/XMLSchema"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> > > >xmlns:ns1="http://xml.apache.org/axis/";>ns1:Client.NoSOAPAction > no SOAPAction header! > > xmlns:ns2="http://xml.apache.org/axis/";>qa4201.fr.webraska.com > > > > > > I have to force my client to use JDK1.5 to make it work fine. > Is there a way so that my client can be run with JDK1.5 or above (jre1.6 for > ex)? > > Thx, > > Jack > > > > > -Message d'origine- > De : Jacky Rymasz-Maillot > Envoyé : mardi 17 juin 2008 09:45 > À : axis-user@ws.apache.org > Objet : RE: Send direct XML rather than using Java classes > > Thanks alot. > It works fine ;) > > Jack > > -Message d'origine- > De : Anne Thomas Manes [mailto:[EMAIL PROTECTED] > Envoyé : lundi 16 juin 2008 19:31 > À : axis-user@ws.apache.org > Objet : Re: Send direct XML rather than using Java classes > > Use the SAAJ API. See > http://users.skynet.be/pascalbotte/rcx-ws-doc/saajpost.htm for > samples. > > Anne > > On Mon, Jun 16, 2008 at 11:04 AM, Jacky Rymasz-Maillot > <[EMAIL PROTECTED]> wrote: >> I am using actually Axis 1.4. >> Is it still possible? If so, where can I find an example? >> Thank you for all your answer ;) >> >> Jack >> >> -Message d'origine- >> De : Paul Fremantle [mailto:[EMAIL PROTECTED] >> Envoyé : lundi 16 juin 2008 16:36 >> À : axis-user@ws.apache.org >> Objet : Re: Send direct XML rather than using Java classes >> >> Jacky >> >> Sure. If you use Axis2 it was designed this way. The Java classes >> model is actually just a separate layer on top of the core XML >> messaging layer. >> >> You just need to look at the ServiceClient API. The XML is represented >> in Axis2 as an OMElement. >> >> Paul >> >> 2008/6/16 Jacky Rymasz-Maillot <[EMAIL PROTECTED]>: >>> Hello, >>> >>> >>> >>> I would like to know if it is possible to send a WSDL request directly >>> without using Java classes to create the request. >>> >>> Let's say I want to create a WSDL request (XML format) into a text editor >>> and send the resulting String to my server without using the generated Java >>> classes from Axis. >>> >>> >>> >>> What I want looks like that but for SOAP: >>> >>> http://users.skynet.be/pascalbotte/rcx-ws-doc/xmlpost.htm >>> >>> >>> >>> Is it possible? >>> >>> >>> >>> Thx >>> >>> >>> >>> Jack >>> >>> >>> >>> >>> >>> No virus found in this outgoing message. >>> Checked by AVG. >>> Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 >>> 17:52 >>> >> >> >> >> -- >> Paul Fremantle >> Co-Founder and CTO, WSO2 >> Apache Synapse PMC Chair >> OASIS WS-RX TC Co-chair >> >> blog: http://pzf.fremantle.org >> [EMAIL PROTECTED] >> >> "Oxygenating the Web Service Platform", www.wso2.com >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> No virus found in this incoming message. >> Checked by AVG. >> Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 >> 17:52 >> >> >> No virus found in this outgoing message. >> Checked by AVG. >> Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 >> 17:52 >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 > 17:52 > > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 > 17:52 > > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.4.1/1510 - Release Date: 19/06/2008 > 15:21 > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Send direct XML rather than using Java classes
Hello again. I created a client sending Axis request XML using SAAJ as explained into the link. I developed my client with Eclipse with JDK1.5 and everything works fine. My problem now is that when my client runs with JRE1.6, I have this response: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> http://xml.apache.org/axis/";>ns1:Client.NoSOAPAction no SOAPAction header! http://xml.apache.org/axis/";>qa4201.fr.webraska.com I have to force my client to use JDK1.5 to make it work fine. Is there a way so that my client can be run with JDK1.5 or above (jre1.6 for ex)? Thx, Jack -Message d'origine- De : Jacky Rymasz-Maillot Envoyé : mardi 17 juin 2008 09:45 À : axis-user@ws.apache.org Objet : RE: Send direct XML rather than using Java classes Thanks alot. It works fine ;) Jack -Message d'origine- De : Anne Thomas Manes [mailto:[EMAIL PROTECTED] Envoyé : lundi 16 juin 2008 19:31 À : axis-user@ws.apache.org Objet : Re: Send direct XML rather than using Java classes Use the SAAJ API. See http://users.skynet.be/pascalbotte/rcx-ws-doc/saajpost.htm for samples. Anne On Mon, Jun 16, 2008 at 11:04 AM, Jacky Rymasz-Maillot <[EMAIL PROTECTED]> wrote: > I am using actually Axis 1.4. > Is it still possible? If so, where can I find an example? > Thank you for all your answer ;) > > Jack > > -Message d'origine- > De : Paul Fremantle [mailto:[EMAIL PROTECTED] > Envoyé : lundi 16 juin 2008 16:36 > À : axis-user@ws.apache.org > Objet : Re: Send direct XML rather than using Java classes > > Jacky > > Sure. If you use Axis2 it was designed this way. The Java classes > model is actually just a separate layer on top of the core XML > messaging layer. > > You just need to look at the ServiceClient API. The XML is represented > in Axis2 as an OMElement. > > Paul > > 2008/6/16 Jacky Rymasz-Maillot <[EMAIL PROTECTED]>: >> Hello, >> >> >> >> I would like to know if it is possible to send a WSDL request directly >> without using Java classes to create the request. >> >> Let's say I want to create a WSDL request (XML format) into a text editor >> and send the resulting String to my server without using the generated Java >> classes from Axis. >> >> >> >> What I want looks like that but for SOAP: >> >> http://users.skynet.be/pascalbotte/rcx-ws-doc/xmlpost.htm >> >> >> >> Is it possible? >> >> >> >> Thx >> >> >> >> Jack >> >> >> >> >> >> No virus found in this outgoing message. >> Checked by AVG. >> Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 >> 17:52 >> > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 > 17:52 > > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 > 17:52 > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 17:52 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 17:52 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.4.1/1510 - Release Date: 19/06/2008 15:21 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Send direct XML rather than using Java classes
Thanks alot. It works fine ;) Jack -Message d'origine- De : Anne Thomas Manes [mailto:[EMAIL PROTECTED] Envoyé : lundi 16 juin 2008 19:31 À : axis-user@ws.apache.org Objet : Re: Send direct XML rather than using Java classes Use the SAAJ API. See http://users.skynet.be/pascalbotte/rcx-ws-doc/saajpost.htm for samples. Anne On Mon, Jun 16, 2008 at 11:04 AM, Jacky Rymasz-Maillot <[EMAIL PROTECTED]> wrote: > I am using actually Axis 1.4. > Is it still possible? If so, where can I find an example? > Thank you for all your answer ;) > > Jack > > -Message d'origine- > De : Paul Fremantle [mailto:[EMAIL PROTECTED] > Envoyé : lundi 16 juin 2008 16:36 > À : axis-user@ws.apache.org > Objet : Re: Send direct XML rather than using Java classes > > Jacky > > Sure. If you use Axis2 it was designed this way. The Java classes > model is actually just a separate layer on top of the core XML > messaging layer. > > You just need to look at the ServiceClient API. The XML is represented > in Axis2 as an OMElement. > > Paul > > 2008/6/16 Jacky Rymasz-Maillot <[EMAIL PROTECTED]>: >> Hello, >> >> >> >> I would like to know if it is possible to send a WSDL request directly >> without using Java classes to create the request. >> >> Let's say I want to create a WSDL request (XML format) into a text editor >> and send the resulting String to my server without using the generated Java >> classes from Axis. >> >> >> >> What I want looks like that but for SOAP: >> >> http://users.skynet.be/pascalbotte/rcx-ws-doc/xmlpost.htm >> >> >> >> Is it possible? >> >> >> >> Thx >> >> >> >> Jack >> >> >> >> >> >> No virus found in this outgoing message. >> Checked by AVG. >> Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 >> 17:52 >> > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 > 17:52 > > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 > 17:52 > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 17:52 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 17:52 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Send direct XML rather than using Java classes
Use the SAAJ API. See http://users.skynet.be/pascalbotte/rcx-ws-doc/saajpost.htm for samples. Anne On Mon, Jun 16, 2008 at 11:04 AM, Jacky Rymasz-Maillot <[EMAIL PROTECTED]> wrote: > I am using actually Axis 1.4. > Is it still possible? If so, where can I find an example? > Thank you for all your answer ;) > > Jack > > -Message d'origine- > De : Paul Fremantle [mailto:[EMAIL PROTECTED] > Envoyé : lundi 16 juin 2008 16:36 > À : axis-user@ws.apache.org > Objet : Re: Send direct XML rather than using Java classes > > Jacky > > Sure. If you use Axis2 it was designed this way. The Java classes > model is actually just a separate layer on top of the core XML > messaging layer. > > You just need to look at the ServiceClient API. The XML is represented > in Axis2 as an OMElement. > > Paul > > 2008/6/16 Jacky Rymasz-Maillot <[EMAIL PROTECTED]>: >> Hello, >> >> >> >> I would like to know if it is possible to send a WSDL request directly >> without using Java classes to create the request. >> >> Let's say I want to create a WSDL request (XML format) into a text editor >> and send the resulting String to my server without using the generated Java >> classes from Axis. >> >> >> >> What I want looks like that but for SOAP: >> >> http://users.skynet.be/pascalbotte/rcx-ws-doc/xmlpost.htm >> >> >> >> Is it possible? >> >> >> >> Thx >> >> >> >> Jack >> >> >> >> >> >> No virus found in this outgoing message. >> Checked by AVG. >> Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 >> 17:52 >> > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 > 17:52 > > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 > 17:52 > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Send direct XML rather than using Java classes
I am using actually Axis 1.4. Is it still possible? If so, where can I find an example? Thank you for all your answer ;) Jack -Message d'origine- De : Paul Fremantle [mailto:[EMAIL PROTECTED] Envoyé : lundi 16 juin 2008 16:36 À : axis-user@ws.apache.org Objet : Re: Send direct XML rather than using Java classes Jacky Sure. If you use Axis2 it was designed this way. The Java classes model is actually just a separate layer on top of the core XML messaging layer. You just need to look at the ServiceClient API. The XML is represented in Axis2 as an OMElement. Paul 2008/6/16 Jacky Rymasz-Maillot <[EMAIL PROTECTED]>: > Hello, > > > > I would like to know if it is possible to send a WSDL request directly > without using Java classes to create the request. > > Let's say I want to create a WSDL request (XML format) into a text editor > and send the resulting String to my server without using the generated Java > classes from Axis. > > > > What I want looks like that but for SOAP: > > http://users.skynet.be/pascalbotte/rcx-ws-doc/xmlpost.htm > > > > Is it possible? > > > > Thx > > > > Jack > > > > > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 > 17:52 > -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 17:52 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 17:52 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Send direct XML rather than using Java classes
Jack, It is possible. Instead of the "string" add your "xml" and it will work. Nevertheless the xml should be escaped eg.. *<*item*>*description of the item*<*/item*>* becomes: *<*item>description of the item*<*/item*>* Jose Ferreiro On 6/16/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: > > Jacky > > Sure. If you use Axis2 it was designed this way. The Java classes > model is actually just a separate layer on top of the core XML > messaging layer. > > You just need to look at the ServiceClient API. The XML is represented > in Axis2 as an OMElement. > > Paul > > 2008/6/16 Jacky Rymasz-Maillot <[EMAIL PROTECTED]>: > > Hello, > > > > > > > > I would like to know if it is possible to send a WSDL request directly > > without using Java classes to create the request. > > > > Let's say I want to create a WSDL request (XML format) into a text editor > > and send the resulting String to my server without using the generated > Java > > classes from Axis. > > > > > > > > What I want looks like that but for SOAP: > > > > http://users.skynet.be/pascalbotte/rcx-ws-doc/xmlpost.htm > > > > > > > > Is it possible? > > > > > > > > Thx > > > > > > > > Jack > > > > > > > > > > > > No virus found in this outgoing message. > > Checked by AVG. > > Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: > 15/06/2008 > > 17:52 > > > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- José Ferreiro EPFL Communication Systems engineer ing.sys.com.dipl.EPFL "Think little goals and expect little achievements. Think big goals and win big success." David Joseph Schwartz
Re: Send direct XML rather than using Java classes
Jacky Sure. If you use Axis2 it was designed this way. The Java classes model is actually just a separate layer on top of the core XML messaging layer. You just need to look at the ServiceClient API. The XML is represented in Axis2 as an OMElement. Paul 2008/6/16 Jacky Rymasz-Maillot <[EMAIL PROTECTED]>: > Hello, > > > > I would like to know if it is possible to send a WSDL request directly > without using Java classes to create the request. > > Let's say I want to create a WSDL request (XML format) into a text editor > and send the resulting String to my server without using the generated Java > classes from Axis. > > > > What I want looks like that but for SOAP: > > http://users.skynet.be/pascalbotte/rcx-ws-doc/xmlpost.htm > > > > Is it possible? > > > > Thx > > > > Jack > > > > > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 > 17:52 > -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Send direct XML rather than using Java classes
Hello, I don't know if that is possible, but I have a few suggestions: - If your final purpose is testing a service, I would use soapui since it lets you write the request as xml. - I would consider using xmlbeans binding in order to read/parse the xml from a file or string. This would create a RequestDocument that can be used by the generated classes. I do not know if the other bindings supported by axis2 can achieve this, I haven't used them that much. Hope it helps, On Monday 16 June 2008 09:51:45 am Jacky Rymasz-Maillot wrote: > Hello, > > > > I would like to know if it is possible to send a WSDL request directly > without using Java classes to create the request. > > Let’s say I want to create a WSDL request (XML format) into a text editor > and send the resulting String to my server without using the generated Java > classes from Axis. > > > > What I want looks like that but for SOAP: > > HYPERLINK > "http://users.skynet.be/pascalbotte/rcx-ws-doc/xmlpost.htm"http://users.sky >net.be/pascalbotte/rcx-ws-doc/xmlpost.htm > > > > Is it possible? > > > > Thx > > > > Jack > > > > > > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 > 17:52 -- Ing. David Ojeda Integra Consultores +58 416 6262898 Caracas, Venezuela - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Send direct XML rather than using Java classes
Hello, I would like to know if it is possible to send a WSDL request directly without using Java classes to create the request. Let’s say I want to create a WSDL request (XML format) into a text editor and send the resulting String to my server without using the generated Java classes from Axis. What I want looks like that but for SOAP: HYPERLINK "http://users.skynet.be/pascalbotte/rcx-ws-doc/xmlpost.htm"http://users.skynet.be/pascalbotte/rcx-ws-doc/xmlpost.htm Is it possible? Thx Jack No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008 17:52