I am the client - I wish to call methods of a web service.
I have a web service address (.svc suffix) and I have the method's name, return value and their argument.
The service is implemented with WCF (HTML end point). I wish to call those methods by SOAP::Lite
. What should I write for the URI, proxy and how exactly do I call the methods?
You set
proxy
to the endpoint anduri
(or in the most recent versionns
) to the namespace in the method definition.One of the easiest ways to do this is simply to use the WSDL URI and create a
SOAP::Schema
object with it, like so:And dump those two objects.
You can look for
And use those values, if everything is there.
I had to dig through a lot of SOAP::Lite dumps in order to get my SOAP client architecture working. You should know how to debug and dump Perl objects if you want to shoot all your troubles.
I'll show you an anonymized dump of a service: