PHP SoapClient unable to work with https WS

前端 未结 2 581
执笔经年
执笔经年 2021-01-13 20:55

i have a problem working with PHP SoapClient with a WS (WSDL) that contains https. my PHP version is 5.2.5. before you ask, yes, i am using PHP\'s Soap and openSSL extention

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-13 21:17

    I just ran the code you gave and it worked perfectly:

    __getFunctions());
    

    results in

    Array
    (
        [0] => ID3CheckInitialise_1bResponse ID3CheckInitialise_1b(ID3CheckInitialise_1b $parameters)
        [1] => ID3AddressLookupInitialise_1bResponse ID3AddressLookupInitialise_1b(ID3AddressLookupInitialise_1b $parameters)
        [2] => ID3Check_1bResponse ID3Check_1b(ID3Check_1b $parameters)
        [3] => AddressLookup_1bResponse AddressLookup_1b(AddressLookup_1b $parameters)
    )
    

    So maybe you should check if there are any network problems: Is there a firewall blocking the communication from within your server process? (I assume it's IIS?) You may also want to check safe_mode settings, although I doubt this is the problem here.

提交回复
热议问题