Hi,

I wonder if there is a way to handle parsing exception gracefully by
returning meaning SOAP message. For example, my client sends an invalid SOAP
message,  I got following error.  I got same message when the received
message have wrong name space.


Java AxisClient
http://localhost:8080/kirus-inventory/services/MessageService soaptest.xml

java.io.FileNotFoundException:
http://localhost:8080/kirus-inventory/services/MessageService
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java:574)
        at AxisClient.send(AxisClient.java:60)
        at AxisClient.main(AxisClient.java:24)

Is there a way I got more meaningful message from client side?
Unfortunately, I cannot make sure the client send the proper message. As we
are using message type service, the client cannot reply on WSDL. 

Brian Ko 
Kirus, Inc.
23181 Verdugo Drive, Suite 106
Laguna Hills, CA  92653
Tel) 949/461-3900 X301 Fax) 949/461-3901
[EMAIL PROTECTED]
www.kirus.com


Reply via email to