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: <[email protected]>
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:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope 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";>
<soapenv:Body>
 <soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/";>ns1:Client.NoSOAPAction</faultcode>
  <faultstring>no SOAPAction header!</faultstring>
  <detail>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/";>qa4201.fr.webraska.com</ns2:hostname>
  </detail>
 </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>

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
À : [email protected]
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
À : [email protected]
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
À : [email protected]
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to