Dear all, How to send multiple perameters in SOAP request. as i tried many things now really need your help can anybody help me in this. as i was successful in sending single parameters in the Request,But when coming to multiple parameters i got the problem. I am very thank ful if any body helps me in this and Thanks in Advance. Thanks, Mohiddin Baig.
Your question does not seem to be a Perl specific question, with the details you have provided. You need to provide more details like which module you are using (if any), give some example code that you are using, errors if any, etc.
I used SOAP::Lite module for this and i had tried two ways one is Code: my $adgroup_count2 = execute($campaign_service, 'getCampaignAdGroupCount', campaignID => 13364501, includeDeleted => 'false'); sub execute { my ($soap_client, $operation, %params) = @_; my @soap_params; foreach my $key ( keys %params ){ push @soap_params, SOAP::Data->name( $key ) ->value( $params{ $key } ) ; } my $som = $soap_client->call( $operation => @soap_params, Headers); } is it the correct way else suggest me the correct way Thanks, Mohiddin.
http://search.cpan.org/~byrne/SOAP-Lite-0.69/lib/OldDocs/SOAP/Lite.pm check this out for more information!