我有一个HTTP POST请求发送到Web服务的流程。它不返回预期的SOAP XML响应,而是返回一个页面重定向。 测试服务时,我使用SOAPUI。我使用相同的URL和POST请求。我得到实际的数据。没有页面重定向。Mule HTTP POST请求返回302页面重定向
我的流动如下所示:
config-ref="HTTP_Listener_Configuration"
path="/getWS"
allowedMethods="GET"
doc:name="HTTPS"/>
location="templates/ws.template"
mimeType="text/xml"
doc:name="Parse Template"/>
config-ref="HTTP_Request_Configuration"
path="${webservice.request.path}"
method="POST"
doc:name="HTTP">
name="transformWS_subflow"
doc:name="Transform WS"/>
message="#[message]"
level="INFO"
category="HTTP_MESSAGE" doc:name="Logger"/>
HTTP请求连接器看起来如下:
name="HTTP_Request_Configuration"
protocol="HTTPS"
host="${webservice.host}"
basePath="${webservice.path}"
port="${webservice.port}"
followRedirects="false"
doc:name="HTTP Request Configuration"/>
我已验证的URL,路径,端口和协议。任何想法如何弥补这一点?
2017-03-14
tbriscoe
+0
我甚至尝试使用Web服务消费者连接器。我得到页面重定向。 –
1209

被折叠的 条评论
为什么被折叠?



