Hallo,
i generated a service client with Axis2 1.3 and ADB.
My problem is that i get a AxisFault during i call my servicestub:
Try{
ABCStub stub = new de.my.path.webservice.ABCServiceStub("URL");
stub.ABC(requestobject);
}catch(AxisFault e){
e.getMessage(); // returns "null"
}
If i switch to DEBUG-Level to the Logger, i will get this:
------------------------------------------------------------------------
-------------
...
...
...
2008-05-05 13:43:01,265 DEBUG [main] org.apache.axis2.engine.Phase:
[MessageContext: logID=urn:uuid:F43201C38F7AAAB7521209987781273]
Invoking flowComplete() in Phase "Transport"
2008-05-05 13:43:01,265 DEBUG [main] org.apache.axis2.engine.Phase:
[MessageContext: logID=urn:uuid:F43201C38F7AAAB7521209987781273]
Invoking flowComplete() for Handler 'SOAPActionBasedDispatcher' in Phase
'Transport'
2008-05-05 13:43:01,265 DEBUG [main] org.apache.axis2.engine.Phase:
[MessageContext: logID=urn:uuid:F43201C38F7AAAB7521209987781273]
Invoking flowComplete() for Handler 'RequestURIBasedDispatcher' in Phase
'Transport'
2008-05-05 13:43:01,281 DEBUG [main]
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder: Build the
OMElelment myAntwortBy the StaxSOAPModelBuilder
2008-05-05 13:43:01,375 DEBUG [main] httpclient.wire.content: << "......
here some XML</soap:Body></soap:Envelope>"
2008-05-05 13:43:01,578 ERROR [main] de.mypackage.Communication:
AxisFault:null
------------------------------------------------------------------------
-------------
So i can read nothing out of this.
Where or how can i catch a the error message?
If i turn on my network sniffer, i can see that my client get a XML from
the Service. Ist posssible to make a validation from this XML against
the WSDL with AXIS?
Regards,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]