[英]Apache Camel: Spring WS SOAP Operation did not match
I am trying to create a Spring WS consumer like this: 我正在尝试创建一个像这样的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>
Error: SOAPAction http://{ip}:{port}/PORTAL/webservices/A20/acceptMessage does not match an operation
错误:
SOAPAction http://{ip}:{port}/PORTAL/webservices/A20/acceptMessage does not match an operation
In your property placeholders you need to use double braces like so: 在属性占位符中,您需要像这样使用双括号:
<route>
<from uri="direct:start"/>
<to uri="spring-ws:rootqname:http://{{ip}}:{{port}}/PORTAL/webservices/A20?soapAction=acceptMessage"/>
<to uri="log:output"/>
</route>
More info here: http://camel.apache.org/using-propertyplaceholder.html 此处提供更多信息: http : //camel.apache.org/using-propertyplaceholder.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.