Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/http/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Http 未找到Mule-变量_Http_Soap_Get_Mule_Mule Studio - Fatal编程技术网

Http 未找到Mule-变量

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

我试图从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-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