aspose file tools
The moose likes Web Services and the fly likes need help with the error -  main Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "need help with the error -  main" javax.xml.ws.soap.SOAPFaultException: Server was unable to process" Watch "need help with the error -  main" javax.xml.ws.soap.SOAPFaultException: Server was unable to process" New topic
Author

need help with the error - main" javax.xml.ws.soap.SOAPFaultException: Server was unable to process

Moieen Khatri
Ranch Hand

Joined: Nov 27, 2007
Posts: 144
Hi,

I am trying to call a webservice using java client and get the below exception.

Please can someone highlight what is wrong with the code

Thanks



Error message:


Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Server was unable to process request. ---> Authorization Error at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140)
at $Proxy28.getXYZData(Unknown Source)
at com.ml.test_webservice.MainClass.main(MainClass.java:37)


Client code to call the webservice:

Moieen Khatri
Ranch Hand

Joined: Nov 27, 2007
Posts: 144
I am stuck with this issue for almost a day.

Any idea as to what could be the problem?

Regards
Moieen
 
I agree. Here's the link: http://jrebel.com/download
 
subject: need help with the error - main" javax.xml.ws.soap.SOAPFaultException: Server was unable to process
 
Similar Threads
Unable to register handlers in JAF command map
Exception BasicCall.java:505 with invoke method
java.lang.InstantiationException - When try to call a web service
JAX-WS @Resrouce injection still not working
Dynamic Proxy