Link to home
Create AccountLog in
Avatar of BadRomeo
BadRomeo

asked on

Declare SoapAction

I see this code at the php soap site:

$client->__soapCall("SomeFunction", array($a, $b, $c),
                    array('soapaction' => 'some_action',
                          'uri'        => 'some_uri'));

I am trying to pass the action with this code:

$action= array(
                  'soapaction' => 'http://****.com/SubmitComment'
                  );

print($client->SubmitComment($my_wrapper,$action));

but its not working...   How do I pass a soapaction with this method?
ASKER CERTIFIED SOLUTION
Avatar of pdheady
pdheady

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer