
winfinit
User
Nov 11, 2009, 9:05 PM
Post #2 of 2
(551 views)
|
:) i am hoping that you are just doing this for debugging or some kind of test script, if you are not, then use SOAP::Lite for all of your SOAP constructions, as it is not a good practice to just send soap call via useragent. another thing, you attached code that is not even compiling, that is also bad also you are posting to wsdl document an api call, that cant be right either i looked at that provided wsdl, and it looks like it is very simple, so i would make a call via SOAP::WSDL i dont have auth info, but here is how it would look: use SOAP::WSDL; use Data::Dumper; my $soap = SOAP::WSDL->new( wsdl => 'http://ws.nielsenbookdataonline.com/webservices/services/BDOLWebService?wsdl', ); my $result = $soap->call('getSearchService', {key => value}); where key value pairs are required parameters for your soap body. -winfinit
|