Hi

I get the following exception when trying some basic examples using SOAP.

[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was:
<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>Servlet error: Error building response envelope: java.lang.NullPointerException</PRE></BODY></HTML></BODY></HTML>
]
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Exception.java:42)
        at org.apache.soap.SOAPException.<init>(SOAPException.java:71)
        at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:175)
        at org.apache.soap.rpc.Call.invoke(Call.java:212)
        at myexamples.CDAdder.add(CDAdder.java:34)
        at myexamples.CDAdder.main(CDAdder.java:67)

thanks
Seshadri

Reply via email to