You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-user@ws.apache.org by Shantanu Sen <ss...@pacbell.net> on 2005/09/21 09:28:41 UTC

Sending XML documents

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