in reply to Re^3: SOAP::Lite headers
in thread SOAP::Lite headers
our $customer_wsdl = "http://172.26.9.168:18120/OELAdapterWebService"; our $customer_endpoint = "http://172.26.9.168:18120/OELAdapterWebS +ervice"; our $customer_soapenv = "http://schemas.xmlsoap.org/soap/envelope/" +; our $customer_oel = "http://xxx.com/OELAdapter"; our $customer_soapAction = "\"/OELAdapter/ProcessDefinitions/Productio +n/Services/OELAdapter/SoapOverHttp/OELAdapter.serviceagent//ProcessOr +derAsync\""; our $customer_soap = SOAP::Lite ->proxy($customer_wsdl) ->uri($customer_endpoint) ->readable(1) ->autotype(0) ->on_action(sub{$customer_soapAction;}); $customer_soap->serializer->register_ns($customer_soapenv, 'soapenv'); $customer_soap->serializer->register_ns($customer_oel, 'oel'); our $customer_result = $customer_soap->call( SOAP::Data->name('oel:ProcessOrderAsyncRequest') => ( SOAP::Data->name('oel:ExternalId' => '1234'), SOAP::Data->name('oel:IncomingOrderSource' => 'Selfcare'), SOAP::Data->name('oel:IncomingOrderDescription' => 'abcd'), SOAP::Data->name('oel:RequiredNotification' => 'false'), SOAP::Data->name('oel:IncomingOrder' => $order) ) );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: SOAP::Lite headers
by Corion (Patriarch) on Jun 02, 2017 at 20:43 UTC |