Http 未找到Mule-变量
我试图从GET http请求中检索一些变量,如Http 未找到Mule-变量,http,soap,get,mule,mule-studio,Http,Soap,Get,Mule,Mule Studio,我试图从GET http请求中检索一些变量,如 http://localhost:8088/?id=xxx&type=yyyy 使用此流 <flow name="SOAPWebService" > <http:inbound-endpoint address="http://localhost:8088/" exchange-pattern="request-response"> </http:inbound-en
http://localhost:8088/?id=xxx&type=yyyy
使用此流
<flow name="SOAPWebService" >
<http:inbound-endpoint address="http://localhost:8088/" exchange-pattern="request-response">
</http:inbound-endpoint>
<set-variable value="#[message.inboundProperties['id']]" variableName="paramId"></set-variable>
<set-variable value="#[message.inboundProperties['type']]" variableName="paramType"></set-variable>
<component class="com.example.components.SampleComponent" ></component>
<mule-xml:xslt-transformer
maxIdleTransformers="2" maxActiveTransformers="5"
xsl-file="C:\WorkSpace\MyProject\src\main\resources\xslt\PrepareRequestXML.xsl">
<mule-xml:context-property key="paramId"
value="#[flowVars['paramId']]" />
<mule-xml:context-property key="paramType"
value="#[flowVars['paramType']]" />
</mule-xml:xslt-transformer>
<cxf:proxy-client payload="body"
enableMuleSoapHeaders="true">
</cxf:proxy-client>
<http:outbound-endpoint exchange-pattern="request-response"
address="http://localhost:8080/ClientsDB/douane" doc:name="HTTP">
</http:outbound-endpoint>
<byte-array-to-string-transformer doc:name="Byte Array to String" />
<file:outbound-endpoint ....... .. />
</flow>
它给出一个null,而不是通过http传递的值
任何想法???使用以下http入站
<http:inbound-endpoint address="http://localhost:8088" exchange-pattern="request-response">
</http:inbound-endpoint>
使用以下http入站
<http:inbound-endpoint address="http://localhost:8088" exchange-pattern="request-response">
</http:inbound-endpoint>
问题是通过使用请求地址解决的,例如,请求不仅如此。问题是通过使用请求地址解决的,例如,请求不仅如此
<http:inbound-endpoint address="http://localhost:8088" exchange-pattern="request-response">
</http:inbound-endpoint>
http://localhost:8088/?id=xxx&type=yyyy