Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/384.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
Java Apache Camel:Spring WS-SOAP操作不匹配_Java_Web Services_Apache Camel - Fatal编程技术网

Java Apache Camel:Spring WS-SOAP操作不匹配

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"/>

我正在尝试创建一个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>

错误:
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和端口值。只是不想在这里透露。