对于无法找到解决方案的this错误,我试图手动运行调用,而不是使用Magento。
编辑
尝试过这样的方法:
<flow name="restorderSub_Flow">
<http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8080" path="test" doc:name="HTTP"/>
<logger message="#[payload]" level="INFO" doc:name="Logger"/>
<parse-template location="src/main/resources/login.xml" doc:name="Parse Template"/>
<logger message="#[payload]" level="INFO" doc:name="Logger"/>
<http:outbound-endpoint address="http://127.0.0.1:8000/api/v2_soap/?wsdl" method="POST" exchange-pattern="request-response" doc:name="HTTP"/>
</flow>但在本例中,它只是显示磁端点--它是wsdl文件吗??
发布于 2015-12-14 09:44:01
最简单的尝试方法是使用Web服务消费者连接器(如果您有可用的WSDL )。
https://docs.mulesoft.com/mule-user-guide/v/3.7/web-service-consumer
通过DataWeave (在使用EE时)或在不使用EE时通过Parse模板转换器传递参数。
发布于 2015-12-18 04:10:13
您可以使用http连接器手动发送请求。下面是登录到时的一个示例soap请求。
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:Magento">
<soapenv:Header/>
<soapenv:Body>
<urn:login soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<username xsi:type="xsd:string">#[message.outboundProperties['magento.username']]</username>
<apiKey xsi:type="xsd:string">#[message.outboundProperties['magento.password']]</apiKey>
</urn:login>
</soapenv:Body>
https://stackoverflow.com/questions/34263209
复制相似问题