May 17, 2016
I have created an enterprise service-based web service to query asset data in our maximo installation. I am attempting to use PERL to send the SOAP record to the web service, but so far have been unable to get the parameter combination just right so it will work.
I know that the Web Service itself works, as I can submit the SOAP record through the SoapUI tool and get a successful response back.
THe relevant PERL code I’m using to try and invoke the web service looks like this:
my $soap_trans = SOAP::Lite->new( proxy => ‘http://<IP>:9080/meaweb/services/EXTSYS1_QUERYASSET’);
my $soapres = $soap_trans->QueryASSET($query);
Here, the $query variable is pre-set to the correct SOAP structure, looking like this:
<max:WHERE>itemnum LIKE ‘%3588%'</max:WHERE>
invoking the web service this way results in the following error message:
The endpoint reference (EPR) for the Operation not found is http:// < IP > :9080/meaweb/services/EXTSYS1_QUERYASSET and the WSA Action = #Query. If this EPR was previously reachable, please contact the server administrator.
I know that I must be missing something simple, because while I have some experience using PERL to use HTTP POST interactions with web services, this is my first attmempt at coding a SOAP-based interaction.
My environment consists of perl 5.10, and it is targeting IBM Control Desk 18.104.22.168, both running on RHEL 6.
any help you could provide would be greatly appreciated here.
Thanks In Advance
Most Users Ever Online: 54
Currently Browsing this Page:
sun kim: 60
Guest Posters: 0
Newest Members:Megan Morgan, Devendra Verma, stephen stephens, maxexpertise Hilal, Jeroen van Proosdij, Neeraja N
Administrators: Chon: 1118, kristensibilia: 0, Joe Grassia: 0, bpaik: 0