Php calls the soap interface to report an error

Source: Internet
Author: User
{Code ...} the above error is reported {code ...} above is my code, below is the wsdl {code ...} the last time they called their http interface, they also set the header (see the code below). I don't know how to set this soap {code ...}
SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://27.148.153.106:9090/mpserver/services/CykProcService' : Extra content at the end of the document in /Users/haua/Desktop/zuji_web/www/quan.189go.cn/test2.php:47 Stack trace: #0 /Users/haua/Desktop/zuji_web/www/quan.189go.cn/test2.php

The above error is reported.

$client = new SoapClient("http://27.148.153.106:9090/mpserver/services/CykProcService");print_r($client->__getFunctions());

Above is my code, below is the wsdl


  
  
      
         
       
      
         
          
          
          
       
      
         
             
              
           
       
      
         
          
             
              
                 
               
              
                 
               
           
       
      
         
             
           
       
   
  

The last time they called their http interface, they also set the header (see the code below). I don't know how to set this soap.

$ Ch = curl_init (); curl_setopt ($ ch, CURLOPT_HTTPHEADER, array (// do not know why they need this before they can receive post data 'content-type: text/html '));

Reply content:
SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://27.148.153.106:9090/mpserver/services/CykProcService' : Extra content at the end of the document in /Users/haua/Desktop/zuji_web/www/quan.189go.cn/test2.php:47 Stack trace: #0 /Users/haua/Desktop/zuji_web/www/quan.189go.cn/test2.php

The above error is reported.

$client = new SoapClient("http://27.148.153.106:9090/mpserver/services/CykProcService");print_r($client->__getFunctions());

Above is my code, below is the wsdl


  
  
      
         
       
      
         
          
          
          
       
      
         
             
              
           
       
      
         
          
             
              
                 
               
              
                 
               
           
       
      
         
             
           
       
   
  

The last time they called their http interface, they also set the header (see the code below). I don't know how to set this soap.

$ Ch = curl_init (); curl_setopt ($ ch, CURLOPT_HTTPHEADER, array (// do not know why they need this before they can receive post data 'content-type: text/html '));

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.