Java Apache Camel:Spring WS-SOAP操作不匹配
我正在尝试创建一个Spring WS消费者,如下所示:Java Apache Camel:Spring WS-SOAP操作不匹配,java,web-services,apache-camel,Java,Web Services,Apache Camel,我正在尝试创建一个Spring WS消费者,如下所示: <route> <from uri="direct:start"/> <to uri="spring-ws:rootqname:http://{ip}:{port}/PORTAL/webservices/A20?soapAction=acceptMessage"/> <to uri="log:output"/>
<route>
<from uri="direct:start"/>
<to uri="spring-ws:rootqname:http://{ip}:{port}/PORTAL/webservices/A20?soapAction=acceptMessage"/>
<to uri="log:output"/>
</route>
错误:
SOAPAction http://{ip}:{port}/PORTAL/webservices/A20/acceptMessage与属性占位符中的操作不匹配您需要使用双括号,如下所示:
<route>
<from uri="direct:start"/>
<to uri="spring-ws:rootqname:http://{{ip}}:{{port}}/PORTAL/webservices/A20?soapAction=acceptMessage"/>
<to uri="log:output"/>
</route>
更多信息请点击此处:哦,你搞错我了。我已经硬编码了ip和端口值。只是不想在这里透露。