456 fixes that.
Now I'm getting:
java.lang.NullPointerException
at
com.sun.xml.messaging.saaj.soap.impl.FaultImpl.setFaultCode(FaultImpl.java:119)
at
com.sun.xml.messaging.saaj.soap.ver1_2.SOAPFactory1_2Impl.createFault(SOAPFactory1_2Impl.java:38)
at
com.sun.xml.ws.sandbox.fault.SOAP12Fault.getProtocolException(SOAP12Fault.java:125)
at
com.sun.xml.ws.sandbox.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:58)
at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:221)
at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:186)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:80)
at $Proxy28.echo(Unknown Source)
at w3c.s12.client.EchoClient.test1233(EchoClient.java:231)
Preliminary investigation reveals that SAAJ is getting the
faultCodeQName as null where in the message (given below), it looks ok
to me. Here is the message:
<soapenv:Envelope
xmlns:soapenv="
http://www.w3.org/2003/05/soap-envelope"><soapenv:Header><To
xmlns="
http://www.w3.org/2
005/08/addressing">
http://www.w3.org/2005/08/addressing/anonymous</To><Action
xmlns="
http://www.w3.org/2005/08/addressin
g">
http://example.org/action/echoOut</Action><ck:CustomerKey
xmlns:ck="
http://example.org/customer" xmlns="
http://www.w3
.org/2005/08/addressing"
IsReferenceParameter="1">Fault#123456789</ck:CustomerKey><RelatesTo
xmlns="
http://www.w3.org/20
05/08/addressing" xmlns:ns2="
http://www.w3.org/2005/08/addressing"
ns2:RelationshipType="
http://www.w3.org/2005/08/addre
ssing/reply">uuid:e2dbbe24-9a5d-45b2-aa80-2f1b58b9f4b2</RelatesTo></soapenv:Header><soapenv:Body><S:Fault
xmlns:S="http:
//www.w3.org/2003/05/soap-envelope"><S:Code><S:Value>S:Sender</S:Value></S:Code><S:Reason><S:Text
xmlns:xml="
http://www.
w3.org/XML/1998/namespace" xml:lang="en">"fault-test1233" triggered the
fault</S:Text></S:Reason></S:Fault></soapenv:Bod
y></soapenv:Envelope>
I'll debug it after my run.
-Arun
ps: I like the new "graphical" look of hudson :)
Kohsuke Kawaguchi wrote:
> Arun Gupta wrote:
>
>> Thanks Kohsuke for the explanation.
>
>
> Will be integrated in #456.
>
--
got Web Services ?
Download Java Web Services Developer Pack from
http://java.sun.com/webservices