You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Hoda Nadeem <ho...@bah.com> on 2006/05/22 22:35:35 UTC

Passing XML Best Practice

 
When dealing with raw xml data that needs to be passed through web
services (the XML schemas are complicated and big enough that we are not
including the types in the WSDL explicitly), is it better to:
 
a. Pass the XML in a doc-literal web service through a string
 
or 
 
b. Use SOAP with attachments to pass the XML through.
 
Thanks. 
 
Nadeem

Re: Passing XML Best Practice

Posted by "Muthana A." <mu...@gmx.de>.
Hallo Hoda,


you can use both of them but the better is the first (a)

Regards
Muthana Al-Temimi
M.Sc.in Information and Communication Systems
Hamburg Germany

-------- Original-Nachricht --------
Betreff: Passing XML Best Practice
Datum: Mon, 22 May 2006 16:35:35 -0400
Von: "Hoda Nadeem" <ho...@bah.com>
An: <ax...@ws.apache.org>

>  When dealing with raw xml data that needs to be passed through web 
> services (the XML schemas are complicated and big enough that we are not 
> including the types in the WSDL explicitly), is it better to: a. Pass the
> XML in a doc-literal web service through a string or  b. Use SOAP with 
> attachments to pass the XML through. Thanks.  Nadeem

-- 


Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
      Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
    

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Passing XML Best Practice

Posted by Anne Thomas Manes <at...@gmail.com>.
Why don't you import the schema into the WSDL?
It's always better to pass the XML within the SOAP envelope than to send it
as a string or as an attachment.

Anne

On 5/22/06, Hoda Nadeem <ho...@bah.com> wrote:
>
>
> When dealing with raw xml data that needs to be passed through web
> services (the XML schemas are complicated and big enough that we are not
> including the types in the WSDL explicitly), is it better to:
>
> a. Pass the XML in a doc-literal web service through a string
>
> or
>
> b. Use SOAP with attachments to pass the XML through.
>
> Thanks.
>
> Nadeem
>