I've got a requirement to modify the soapAction in my WSDL to contain only ServiceOperation/ServiceMethod inside.
When I leave the namespace property empty it sets it to:
<soap:operation soapAction="urn:ServiceName/GetCustomers" style="document"/>
When I remove the namespace property, then the tempuri.org namespace steps in and spoils the result.
What has to be done:
<soap:operation soapAction="ServiceName/GetCustomers" style="document"/>
Is there any way to achieve this? Thanks for any help.
找出可以通过直接在方法上指定操作来完成的操作:
[OperationContract(Action = "ServiceName/GetCustomers")]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.