dongquexi1990
dongquexi1990
2013-02-20 16:57
浏览 71
已采纳

解析WSDL:已经定义了xx

When I try to execute following PHP code:

$client = new SoapClient("https://.../translationManagementService/XTRFService?wsdl");

I get:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: 'createCustomer' already defined in /data/r/e/reachlocalization.com/web/createuser.php:31 Stack trace: #0 /data/r/e/reachlocalization.com/web/createuser.php(31): SoapClient->SoapClient('https://.......') #1 {main} thrown in /data/r/e/reachlocalization.com/web/createuser.php on line 31

Am I doing something wrong or is this server related?

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

2条回答 默认 最新

  • douzhechi2435
    douzhechi2435 2013-02-21 15:31
    已采纳

    This is PHP bug #45282.

    You can try Pear SOAP implementation.

    点赞 评论
  • doucan8521
    doucan8521 2017-08-18 19:50

    Try to connect to ?singleWsdl instead of ?wsdl

    点赞 评论

相关推荐