File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes javax.xml.soap.SOAPException: Unable to internalize message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "javax.xml.soap.SOAPException: Unable to internalize message" Watch "javax.xml.soap.SOAPException: Unable to internalize message" New topic
Author

javax.xml.soap.SOAPException: Unable to internalize message

laks nnn
Greenhorn

Joined: Aug 11, 2004
Posts: 1
I am getting the following exception when I am trying to invoke a webservice. Could any help me, what might be the cause... Any help will be greatly appreciated.

javax.xml.soap.SOAPException: Invalid Content-Type:text/html
at com.sun.xml.messaging.saaj.soap.MessageImpl.verify(MessageImpl.java:161)
at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:89)
at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:32)
at com.sun.xml.rpc.client.http.HttpClientTransport.readResponse(HttpClientTransport.java:140)
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:67)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:71)
at com.ford.fc.middleware.cirequest.pmtestimator.generated.GetCIByPepSoapPort_Stub.getConsumerIncentivesByPep(GetCIByPepSoapPort_Stub.java:62)
at com.ford.fc.middleware.cirequest.pmtestimator.MasterThread.run(Unknown Source)
java.rmi.RemoteException: HTTP transport error: javax.xml.soap.SOAPException: Unable to internalize message; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: Unable to internalize message
HTTP transport error: javax.xml.soap.SOAPException: Unable to internalize message
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:87)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:71)
at com.ford.fc.middleware.cirequest.pmtestimator.generated.GetCIByPepSoapPort_Stub.getConsumerIncentivesByPep(GetCIByPepSoapPort_Stub.java:62)
at com.ford.fc.middleware.cirequest.pmtestimator.MasterThread.run(Unknown Source)

CAUSE:

javax.xml.soap.SOAPException: Unable to internalize message
at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:134)
at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:32)
at com.sun.xml.rpc.client.http.HttpClientTransport.readResponse(HttpClientTransport.java:140)
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:67)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:71)
at com.ford.fc.middleware.cirequest.pmtestimator.generated.GetCIByPepSoapPort_Stub.getConsumerIncentivesByPep(GetCIByPepSoapPort_Stub.java:62)
at com.ford.fc.middleware.cirequest.pmtestimator.MasterThread.run(Unknown Source)
java.rmi.RemoteException: HTTP transport error: javax.xml.soap.SOAPException: Unable to internalize message; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: Unable to internalize message
HTTP transport error: javax.xml.soap.SOAPException: Unable to internalize message
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:87)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:71)
at com.ford.fc.middleware.cirequest.pmtestimator.generated.GetCIByPepSoapPort_Stub.getConsumerIncentivesByPep(GetCIByPepSoapPort_Stub.java:62)
at com.ford.fc.middleware.cirequest.pmtestimator.MasterThread.run(Unknown Source).

Thanks,
Laks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.xml.soap.SOAPException: Unable to internalize message
 
Similar Threads
Error when calling a web service in Java Client
Exceptions while testing JAXRPC Samples in SunOne
HTTP transport error: java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URL
SL handshake failed: X509CertChainIncompleteErr
getting exception while invoking service frm client on another system