Do you really need the SOAP Body, or do you just want a way to send arbitrary
XML documents?
You can do the latter by having a doc/lit(wrapped) service that takes xsd:anyType (or
apachesoap:Element if you don't care about interoperability). That produces a service
interface method signature of:
<return msg type> serviceMethod(org.w3c.dom.Element parameter);
If you use xsd:anyType in the wsdl, you need to add a type mapping in the wsdd from
xsd:anyType to Element using org.apache.axis.encoding.ser.Element(De)SerializerFactory.
[EMAIL PROTECTED] wrote:
Hello all,
Is there a way to implement a web service that can collect all the SOAPBody from
a SOAP Message? For instance, I have a client that sends the soap message to my
Web Service (WSA). My WSA must collects the SOAP Message, SOAP Body is most
important. And then, parse it as a XML file.
I don't know how it could be possible. Because as I know, web services receives
the SOAP Message, but takes only the data type required.
How my web service could be implemented to receives all the SOAPBody and
manually I could extract the information inside it? And the client? How does it
call this specific web service?
Thanks a lot for all the help,
FabrÃcio.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.