Re: [soaplite] How to send a serialized SOAP request?
- Thanks for the reply, Paul.How do I add header and other elements to body and still use the normal call convention?Is it to use addheader()? Can you provide an example for using it?Also, how to add body fields?Thanks.Weidong----- Original Message -----From: Paul KulchenkoSent: Tuesday, July 10, 2001 6:09 PMSubject: Re: [soaplite] How to send a serialized SOAP request?Hi, Weidong!
--- Weidong Wang <wwang@...> wrote:
> Since I need to define my own SOAP Header and have user defined
> data fields in the body, I turn to Serializer->envelope() to
> generate a serialized SOAP request. That works fine.
You don't need to. You can add SOAP Headers and user defined fields
and objects and still should be able to reuse everything else.
> But I can't find a way to send such already serialized request over
> to the server. I suppose I still need to set uri() and proxy(), but
> how do I make the call? I tried using call(), but it is trying to
> serialize again.
But if you still need it, then you need to call send_receive method
(it's common for all transports, so you don't need to worry about
transport level) and pass parameters there. Take a look into call()
method that does it. Be prepared however that this interface is not
documented and will change in future versions. I promise :)
Let me know if you need more information.
Best wishes, Paul.
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
To unsubscribe from this group, send an email to:
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.