1 Reply Latest reply on Feb 8, 2007 12:05 PM by Romeu Figueira

    Sending XML doc as String parameter into WebService

    steinarrune Newbie

      I have implemented JBossWS for EJB 2.1 on JBoss 4.0.5GA, and a simple Session Bean with a SOAP interface like the following

      boolean inputMessage(String xmlMessage);

      I thought I could get the XML sent as a simple String, but the SOAP server fails because it tries to validate the incoming String as an XML and fail to find metadata for the namespace + type in the inner String/Xml. ANy way to avoid the JBossWS Service in trying to interpret this and simply transfer the XML as a String?

      ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception
      javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://myapp.webservices}SapConnectionEndpointPort does not contain operation meta data for: