Recently I am trying to integrate two system we use now. We have a customer feedback website that using Helpspot (http://www.helpspot.com/) and the other is Bug tracker Mantis server. we hope some of customer feedback can be added into mantis . Since mantis have a WSDL mantisconnect, so I wrote some code with nusoap to interact with the mantis wsdl. It worked fine..I can update issue or do rest of other things.
But when I uploaded the same code to the Helpspot server, it stop working...
and I got this error msg:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://Mymantis/api/soap/mantisconnect.php?WSDL' : Extra content at the end of the document in /www/eh17275/public_html/custom_code/RequestPush-MantisBT.php:36 Stack trace: #0 /www/eh17275/public_html/custom_code/RequestPush-MantisBT.php(36): SoapClient->SoapClient('http://testmant...') #1 /www/eh17275/public_html/custom_code/RequestPush-MantisBT.php(75): RequestPush_MantisBT->push('test') #2 {main} thrown in /www/eh17275/public_html/custom_code/RequestPush-MantisBT.php on line 36
the Line 36 in my code is =>$client=new soapclient('http://Mymantis/api/soap/mantisconnect.php?WSDL');
I googled whole day and most of people encountered this error usually because they wrote their own SOAP server, but in my case, I just wrote a client and the code worked.
and the WSDL on my mantis server is up. I can see this page http : / /mymantis/api/soap/mantisconnect.php
and I even want my friend at home to check the page and they can see it. So I think the factor of internet service setting can be elimiated.
Is there any people have any thought about this?
Thx for reading