Sending XML documents

Shantanu Sen <ssen-yBeKhBN/[email protected]> Wed, 21 Sep 2005 00:28:41 -0700 (PDT)
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
Is there any suggestion for sending xml documents 
using WSIF? I know I can use String, but that is not
really an option for me. I do not want to convert the
xml doc to a java object and vice versa.

For example, if my remote interface accepts a 
javax.xml.soap.SOAPElement, and I want to send out 
an XML document to this. I am using EJB binding.

When I generate the WSDL, it is setting the parameter 
type to be xsd:any or xsd:anyType depending on whether
the parameter is a SOAPElement or a dom Document.

I believe I have to specify a standard typemapping for
this to succeed since even if I turn on the
auto-typing
feature, the EJB provider will not know how to 
marshal this.

How do I set this mapping?

Any ideas will be very helpful.

Thanks,
Shantanu Sen