Soap Fault

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Equinex

    Soap Fault

    Hi,


    I am trying to call a Web Service using Php and Soap.

    Why does the following Php 5 code return?

    try
    {
    //$ExchangeLoginR esult = $ExchangeClient->Login(array("r equest" =>
    array("username "=>"sportleisur e",
    $VendorAddResul t = $VendorSoap->updateVendorSu bscription(arra y("request"
    =array("header" =>$BetfairReque stHeader,"usern ame"=>$tok
    [3],"vendorSoftwar eId"=>342,"expi ryDate"=>$date) ));
    }
    catch (SoapFault $fault)
    {
    trigger_error(" SOAP Fault: (faultcode: {$fault->faultcode}, faultstring:
    {$fault->faultstring})" );
    print("Fault when trying to Add/Update API User ");
    var_dump($fault );
    }


    Error Message - Fault when trying to Add/Update API User
    ["faultstrin g"]=string(22) "Rejected (from client)"
    ["faultcode"]=string(10) "env:Client "


    Thanks,


Working...