axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From suzhen <suzh...@gmail.com>
Subject Re: SAAJ0009 Exception while sending a SOAP request
Date Wed, 23 Dec 2009 18:54:43 GMT

Hi,

Did you resolve this problem?

Now I face same problem as you.

Thanks,


Ananya wrote:
> 
> Hi,
> 
> I am using a soap client running on java 6 and server running on 1.5.
> I am writing a test class and getting the following exception when I send
> the request to a url which doesn't exist ( the test requires me to send
> the request to an incorrect url and check the fail over to the backup soap
> server).
> 
> com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
> SEVERE: SAAJ0009: Message send failed
> 
> Earlier when my client was running on jdk 1.4, I used to get
> java.net.UnknowHostException which was the desired result. But since I
> moved to java 6, I am getting a different error.
> I understand that the issue is with saaj now being part of the rt.jar in
> java 6. So now my request goes to the saaj implementation in rt.jar
> instead of Axis. 
> I would like to know what are the options to prevent this behavior apart
> from adding the axis related jar to the bootstrap loader or from adding
> the jar to the endorsed directory. 
> 
> Thanks in advance
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/SAAJ0009-Exception-while-sending-a-SOAP-request-tp23628825p26905943.html
Sent from the Axis - User mailing list archive at Nabble.com.


Mime
View raw message