我是骡子的新手。对不起,如果这是一个基本问题!
针对模拟的Web服务(Java,在Eclipse中创建)运行WS Consumer时,该服务返回带有字符串的soap错误:
未找到操作的端点引用(EPR)是%URL%和WSA Action =。如果以前可以访问此EPR,请与服务器管理员联系。
其中%URL%是服务的URL。
SoapAction应该设置为什么?我该如何设置SoapAction?任何帮助都会非常棒,谢谢!
这是Mule发出的请求(注意SoapAction):
POST /ws_barking_import/services/RetrieverBarkingService/ HTTP/1.1
X-MULE_ENDPOINT: http://my-pc:8999/ws_barking_import/services/RetrieverBarkingService/
X-MULE_ENCODING: UTF-8
X-MULE_ROOT_MESSAGE_ID: dc055c10-4216-11e4-b61b-fc4dd4f3b3c8
Content-Type: text/xml; charset=UTF-8
http.disable.status.code.exception.check: true
SOAPAction: ""
X-MULE_SESSION: rO0ABXNyACNvcmcubXVsZS5zZXNzaW9uLkRlZmF1bHRNdWxlU2Vzc2lvbi7rdtEW7GGKAwAFWgAFdmFsaWRMAA1mbG93Q29uc3RydWN0dAAmTG9yZy9tdWxlL2FwaS9jb25zdHJ1Y3QvRmxvd0NvbnN0cnVjdDtMAAJpZHQAEkxqYXZhL2xhbmcvU3RyaW5nO0wACnByb3BlcnRpZXN0AA9MamF2YS91dGlsL01hcDtMAA9zZWN1cml0eUNvbnRleHR0ACdMb3JnL211bGUvYXBpL3NlY3VyaXR5L1NlY3VyaXR5Q29udGV4dDt4cAFwdAAkZGMwNTgzMjAtNDIxNi0xMWU0LWI2MWItZmM0ZGQ0ZjNiM2M4c3IAJWphdmEudXRpbC5Db2xsZWN0aW9ucyRTeW5jaHJvbml6ZWRNYXAbc/kJS0s5ewMAAkwAAW1xAH4AA0wABW11dGV4dAASTGphdmEvbGFuZy9PYmplY3Q7eHBzcgAkb3JnLm11bGUudXRpbC5DYXNlSW5zZW5zaXRpdmVIYXNoTWFwndHZ72dFzgADAAB4cHcMP0AAAAAAABAAAAAAeHEAfgAJeHB4
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8999
Transfer-Encoding: chunked
ac
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><deleteJobRequest>
<jobId>abcd123</jobId>
</deleteJobRequest></soap:Body></soap:Envelope>
0
Here用于生成模拟服务的WSDL(还要注意空白的SoapAction):