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:
A quick and dirty solution is to embed the xml in <![CDATA[ ..... ]]> tags, like so:
<![CDATA[ <urn:CreateClient> <String_1>?</String_1> </urn:CreateClient>]]>