duanliao5995
duanliao5995
2014-12-19 12:04
浏览 37
已采纳

PHP Soap - SOAP-ERROR:编码:对象没有'checkConnectivityRequest'属性

I'm having a problem getting a particular SOAP call to work -most of them work fine, but this one is giving me a headache.

The WSDL is http://fibre.venus.ispwebhost.com/FibreClassTest/colt.wsdl, and the request I am generating is:

        $result = $soap->checkConnectivity(
        array('checkConnectivityRequest' =>
            array(
                'requestType' => 'SITE',
                'requestMode' => array(
                    'requestId' => date("Ymdhis"),
                    'siteAddress' => array(
                        'postalZipCode'     => $this->postcode,    
                        'connectivityType' => 'COLT FIBRE',
                        'bandwidth' => '2M',
                    ),


                )
            )
        )                  
        );

However I'm getting a SOAP error back (which I believe means it's not even passing it to the web service), so not sure if I'm mis-reading the WSDL?

Thanks!

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • drhrpa2945
    drhrpa2945 2014-12-19 15:04
    已采纳

    If you search in the content of http://fibre.venus.ispwebhost.com/FibreClassTest/colt.wsdl you will notice that there is not wsdl:operation named checkConnectivityRequest. The closest i saw was checkConnectivity so, try to replace checkConnectivityRequest with checkConnectivity and let me know.

    Happy coding

    点赞 评论

相关推荐