欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

【原】使用wsdl的注意事项

程序员文章站 2022-05-24 12:37:13
...
 
        
        
 
 
       
       
 
  Minus2(,          =  +         =  -         ("add"=>, "sub"=> }
 
         
         
 
  = ->Minus2(100, 99 ( (2) { 'add' => (3) "199" 'sub' => (1) "1" }
 
      
           
                  
                  
             
       
 
  = ->Minus2(100,99 ( stdClass int(199) public $sub => int(1) }
                       Minus2(,          =        ->add =  +        ->sub =  -          }
  stdClass int(199) public $sub => int(1) }
 
     
          
                
                
           
       
  
  
       
             
                   
                         
                   
            
       
  
                             __construct(,                ->sessionId =               -> =              =         [] =  CustomType("123", "456"        [] =  CustomType("789", "912"          }
  = -> (          "
".->sessionId." and ".->."
" }
 
      
            
                  
            
      
 
 
        
        
 
                       Minus2(,           =         ->add = ->        ->sub = ->          }
Minus2(100, 99)了,而应当修改为:
  = ->Minus2(("request"=>100), ("request"=>99));
  = ->__call("Minus2", (("request"=>100), ("request"=>99)));
 Error: Client, : SOAP-ERROR: Encoding:  has no 'sub' property。 
 
      
             
                      
                      
                      
             
       
 
 
        
               
                     
                            
                     
               
          
 
 
         
               
                      
               
        
 
 
        
               
                   
                   
               
        
 
 
       
               
               
               
        
 
 
       
              
                     
               
       
 
【原】使用wsdl的注意事项

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。