Hello Xinjun,

Forgot to mention in my previous reply, but you could use an xsd:any type:

      <complexType name="ctype">
        <sequence>
          <any/>
        </sequence>
      </complexType>

This maps to a Javabean called Ctype with a property of type SOAPElement. SOAPElement implements org.w3c.dom.Element, so you get a parsed piece of DOM on the other side, no need to worry about escaping your content.

Regards,
Dies


Xinjun Chen wrote:
As far as I know, I cannot embed XML inside XML, so how can I pass an XML
document as an input parameter to a web service?
Could anyone provide some pointer on that?

Regards,
Xinjun



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to