What's the difference between and in WSDL?

后端 未结 5 1180
-上瘾入骨i
-上瘾入骨i 2021-01-29 22:25

Both and seem to define an operation and its message. I don\'t quite understand, why are they both necessary?

5条回答
  •  说谎
    说谎 (楼主)
    2021-01-29 23:14

    wsdl:portType goes with wsdl:operation i.e. we are in the realms of messages and xml as such

    but wsdl:binding goes with soap:binding and soap:operation i.e. we are in the realm of encoding, addresses, headers and rpc

    e.g. from : http://www.w3.org/TR/wsdl#_soap-b

     
            
            
               
                   
                   
    

    .....

    
        
        
           
           
               
    

    ...

    and from paragraph 3.2 all possible details about lower level communication stuff:

    The SOAP Binding extends WSDL with the following extension elements:

    
        
            
            
               ?
               
                   
                   *
                     *
                                                   
               
               
                   
                   *
                     *
                                                   
               
               *
                   
                
            
        
    
        
             
        
    
    

提交回复
热议问题