2013-12-11 86 views

回答

7

是有办法做到this.Think以下是您的SOAP消息

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
<soapenv:Header> 
    ......... 
</soapenv:Header> 
<soapenv:Body> 
    .... 
</soapenv:Body> 

可以使用soapenv属性区分这两种。

SOAP 1.1:http://schemas.xmlsoap.org/soap/envelope/

SOAP 1.2:http://www.w3.org/2003/05/soap-envelope

所以,你会发现,上面的SOAP消息有关SOAP 1.1。认为这会对你有所帮助。

详细内容见:WSO2 library artical这个