SourceForge has been redesigned. Learn more.
Close

SoapAction HTTP Header not set

Help
Shawn
2009-04-01
2013-06-06
  • Shawn

    Shawn - 2009-04-01

    Please help!! I have played with the following code:

       
        $soapaction = "Makesomethinghappen";
       
        $wsdl="http://www.someplace.org/xxx/yyy.asmx?WSDL";
       
        $namespace = "http://www.someplace.org/xxx";
       
        $client = new soapclient($wsdl, true);
        $client->style = "rpc";
        $client->forceStyle = true;
       
        $response = $client->call("Makesomethinghappen",$params, $namespace, $soapaction);

    And the HTTP Headers of SOAPAction and User-Agent are not set at all when it is received on the other end.

    Any help would be appreciated.

    Thanks!!

     
    • Fred

      Fred - 2009-04-25

      How about if you use "$client = new soapclient($wsdl, false);"?

       

Log in to post a comment.