[jboss-user] [JBossWS] - Sending XML doc as String parameter into WebService

steinarruneEriksen do-not-reply at jboss.com
Thu Feb 8 07:37:43 EST 2007


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:
 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013004#4013004

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013004



More information about the jboss-user mailing list