I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-07-26 08:57:36.174625-07 by parbour
Need some assistance on usage
Hi All, I'm having some trouble implementing the wsdl, but it is mostly due to my inexperience with this sort of thing. I generally use SoapUI to test our systems, and it will generate something that looks a bit like this:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http: +//schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns: +xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://bridgewatersystems.com/xpc/aaaInterface/e +ntity/soap"> <SOAP-ENV:Body> <ns1:AccountingRequest> <subscriber sgsn-ip-address="2.2.2.2" client-ip-address="2.2.2.2" framed-ip-address="1.1.1.101" session-id="1234" domain="domain.com.sa" called-station-id="gsm" nas-ip-address="2.2.2.2" NAS-identifier="TEST-FUP-2" calling-station-id="11111" user-name="1111" msisdn="1111"/> <start/> </ns1:AccountingRequest> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Now what I am looking to do is generate a similar call and I am totally baffled by how to do that. So far I have created a new WSDL interface with use SOAP::WSDL;
my $soap = SOAP::WSDL -> new (wsdl => 'http://192.168.153.240:32010/soap/services/PolicyControllerA +AAInterface?wsdl');
and that works, but I can't figure out how to do a 'call' I have tried stuff like this... but that isn't working. Any advice is greatly appreciated:
my %acctVals; my %sub; $sub{'client-ip-address'} = "2.2.2.22"; $sub{'framed-ip-address'} = "10.0.0.20"; $sub{'session-id'} = "12312321"; $sub{'domain'} = "converged.mobily.com.sa"; $acctVals{'subscriber'} = $sub; my $result = $soap->call('Accounting', $acctVals);
Direct Responses: 13460 | Write a response
Posted on 2011-08-17 10:55:45.629852-07 by mkutter in response to 13415
Re: Need some assistance on usage
please see SOAP::WSDL::Manual, and don't use the SOAP::WSDL->new() client - it's broken.

Martin
Direct Responses: 13463 | Write a response
Posted on 2011-08-17 22:59:59.826704-07 by nhljersey in response to 13460
Re: Need some assistance on usage
Direct Responses: Write a response