Issues using a Fedex Webservice via WSDL/SOAP

前端 未结 6 2117
灰色年华
灰色年华 2021-02-08 13:22

I downloaded the sample code to request a rate from fedex\'s website... i placed the WSDL file in the proper location, I have my acct number, password, meter number, and key. Wh

6条回答
  •  囚心锁ツ
    2021-02-08 13:33

    in library file fedex-common.php5 change following fields to provided credentials:

    if($var == 'shipaccount') Return '123456';
    if($var == 'billaccount') Return '123456';
    if($var == 'dutyaccount') Return '123456';
    if($var == 'accounttovalidate') Return '123456';
    if($var == 'meter') Return '654321';
    if($var == 'key') Return 'ASDE324dfe';
    if($var == 'password') Return 'K2wedrf4ASDE324dfe';
    

    in wsdlfile ShipService_v*.wsdl change following thing:

    
    

    Hope it'll work for you.

提交回复
热议问题