3 Replies Latest reply on Jul 16, 2003 9:55 AM by marceloptoledo

    javax.xml.soap.SOAPException: Invalid Content-Type:text/html

    Vijay Phagura Newbie

      I am trying a stand alone client with jboss-3.0.6_tomcat-4.1.18 and am getting javax.xml.soap.SOAPException: Invalid Content-Type:text/html, inspite of my adding all the libs from the jwsdl dir to Tomcat common/lib. Actually, on the JBoss logs I do see a NPE:

      java.lang.NullPointerException
      at com.sun.xml.rpc.soap.message.SOAPMessageContext.createMessage(SOAPMessageContext.java:118)
      at com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:239)
      at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      .... (rest is not shown)

      Don't know why the NPE is being produced??
      Any solutions would be appreciated
      :-((