No because a Document can contain stuff that soap says no to (such
as PIs). So you have to pass the document element if you want to
send all the content of a doc (minus any PIs). The PIs may in fact
work in Apache SOAP, but if it does that's a non-compliant feature.

However, I have heard that the XML Protocol group may put them
back in ..

Sanjiva.

----- Original Message -----
From: "Saint-Martin Cecile" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 13, 2001 5:51 AM
Subject: RE: Parameter Encoding Problem


> Hi,
>
> What is the relation between encoding style and mapping registry?
> With literal XML encoding style, can we pass DOM Document instead of DOM
> Element?
>
> SAINT-MARTIN Cecile
> [EMAIL PROTECTED]
>
> > -----Message d'origine-----
> > De : Sanjiva Weerawarana [mailto:[EMAIL PROTECTED]]
> > Envoyé : mercredi 13 juin 2001 11:46
> > À : [EMAIL PROTECTED]
> > Objet : Re: Parameter Encoding Problem
> >
> >
> > Sure it does .. you can send stuff using different encoding styles:
> > you can use soapenc for 3 params, literal xml for 2 and something
> > else for n more and return one value in whichever encoding you
> > want. See the sample GetAllListings in addressbook for how to
> > control the return encoding style.
> >
> > Note that Java methods can only return one value. So if you want to
> > *return* more than one value then you need to use a different
> > provider than RPCJavaProvider.
> >
> > Sanjiva.
> >
> > ----- Original Message -----
> > From: "Anping Wang" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, June 12, 2001 8:35 PM
> > Subject: Re: Parameter Encoding Problem
> >
> >
> > > The dom element serializer only works when the soap service only has
dom
> > element
> > > as variables and return variable. It wont work if you have
> > other types of
> > > variables in your service.
> > >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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

Reply via email to