The upcomming jboss-4.0.1 release maps xsd:anyType to org.w3c.dom.Element which 
makes it easier to exchange arbitary XML fragments. This however goes beyond 
the JAXRPC spec and is therefore not portable and maybe not interoperable.

If your .NET client is BasicProfile-1.0 compliant you should expect good 
results with SOAP with Attachments (SwA). This would be the way to do it.

Returning an XML fragment as string is quite different  from the idea of 
exchanging business documents. The WSDL and its associated schemas (which is 
the abstract contract between the parties) will not define the structure of the 
"string" and the receiving side has no way to validate it.

Resorting to xsd:anyType or string should only be considered if you have truely 
unstructured (random) XML fragments to exchange.

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to