Ble*_*eek 5 soap wsdl endpoint
在下面的WSDL摘录中,
<soap1:operation style="document" soapAction="petition"
Run Code Online (Sandbox Code Playgroud)
指定之间有什么区别
与
<wsdl:service name="ReincarnationPermitService">
<wsdl:port name="ReincarnationRequestPortTypeEndpoint" binding="tns:ReincarnationRequestPortTypeEndpointBinding">
<soap1:address location="http://sheol:666/Services/ReincarnationPermitService.serviceagent/ReincarnationRequestPortTypeEndpoint"/>
</wsdl:port>
</wsdl:service>
<wsdl:portType name="ReincarnationRequestPortType">
<wsdl:operation name="acceptRequest">
<wsdl:input message="tns:ReincarnationParticulars"/>
<wsdl:output message="tns:PetitionResponse"/>
<wsdl:fault name="denied" message="tns:Rejection"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ReincarnationRequestPortTypeEndpointBinding" type="tns:ReincarnationRequestPortType">
<soap1:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="acceptRequest">
<soap1:operation style="document" soapAction="petition" soapActionRequired="true"/>
<wsdl:input>
<soap1:body use="literal" parts="ReincarnationParticulars"/>
</wsdl:input>
<wsdl:output>
<soap1:body use="literal" parts="Approved"/>
</wsdl:output>
<wsdl:fault name="denied">
<soap1:fault use="literal" name="denied"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
Run Code Online (Sandbox Code Playgroud)
这是我发现的......所以回答我自己的问题。
SoapAction 属性指示服务提供者的意图,这很可能是由服务框架构建的。
SoapAction 帮助服务提供者将肥皂操作映射到意图解析器。无论出于何种意图和目的,这都将是被调用来为操作提供服务的例程。
SoapAction 属性是服务提供者框架唯一标识调用哪个入口点或例程来为操作提供服务的一种方法。
因此,soapAction 属性可以是任何值,其模式可以由框架决定。在我使用的框架中,soapAction 的值是什么对框架来说并不重要,其中soapAction 属性值只是对处理调用的入口点的引用。
| 归档时间: |
|
| 查看次数: |
18524 次 |
| 最近记录: |