Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Soap client

by palette (Scribe)
on Aug 15, 2007 at 11:00 UTC ( #632703=perlquestion: print w/replies, xml ) Need Help??

palette has asked for the wisdom of the Perl Monks concerning the following question:

I have a wsdl provided where the binding uses the style=document

I have worked with style=rpc and I know the strcuture of the object that I need to pass.

In the wsdl style=document the operation soap body is use=literal and the soap action has the URL. So whats the significance of the soap action there and use=literal

I was going through some URL's for soap to understand the difference between style=document and style=rpc

I understood that there is no restriction over the message you are sending in soap:body in style=document. What do they mean by this.

So Is that I should be building an XML and then sending that xml file as argument in my soap call for the style=document.

Can anyone tell me what should I be sending as argument in my soap call.

Replies are listed 'Best First'.
Re: Soap client
by erroneousBollock (Curate) on Aug 16, 2007 at 06:41 UTC
    Could you post the WSDL? (please anonymize any sensitive data)

    I've not tried document-style SOAP with SOAP::Lite, but I'm interested to see the method-proxies that SOAP::WSDL would create.


      .... <binding name="mlcGws" type="s0:mlcGws"> <soap:binding transport="" sty +le="document"/> <operation name="LCRequest"> <soap:operation soapAction="http://../LCRequest" style="document +"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> <service name="mlcGw"> <port name="mlcGws" binding="s0:mlcGws"> <soap:address location="http://localhost:9443/LC"/> </port> </service> </definitions> ...

      I wanted to know how can I pass over the SOAP call. I have given a sample XML and this WSDL.

      So I will go on building the XML according to the WSDL and call the soap method name that they are exposing. So where will I send the XML that i have built. Will that be an argument to the soap call.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://632703]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2023-09-29 00:21 GMT
Find Nodes?
    Voting Booth?

    No recent polls found