Java 使用ApacheCamel和SpringWS时出现的问题

Java 使用ApacheCamel和SpringWS时出现的问题,java,web-services,apache-camel,spring-ws,Java,Web Services,Apache Camel,Spring Ws,我试图使用Apache Camel和Spring ws调用Web服务,但收到一条错误消息,上面说: org.springframework.ws.soap.client.SoapFaultClientException: The message with To '' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sen

我试图使用Apache Camel和Spring ws调用Web服务,但收到一条错误消息,上面说:

org.springframework.ws.soap.client.SoapFaultClientException: The message with To '' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher.  Check that the sender and receiver's EndpointAddresses agree.
我在春季创建了一个WebServiceTemplate:

<bean id="soapMessageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory">
        <property name="soapVersion">
            <util:constant static-field="org.springframework.ws.soap.SoapVersion.SOAP_12"/>
        </property>
    </bean>
    <bean id="webServiceTemplate" class="org.springframework.ws.client.core.WebServiceTemplate">
        <constructor-arg ref="soapMessageFactory"/>
        <property name="messageSender" ref="messageSender"/>
    </bean>
    <bean id="messageSender" class="org.springframework.ws.transport.http.HttpComponentsMessageSender">
        <property name="credentials">
            <bean class="org.apache.http.auth.UsernamePasswordCredentials">
                <constructor-arg value="user:secret"/>
            </bean>
        </property>
    </bean>

关于这个错误可以依赖于什么以及我可以做些什么来修复它,有什么想法吗

消息体的内容是什么?消息体是由jaxb编组生成的非常简单的xml。它只包含一个字段。我现在没有我的工作计算机,但如果有帮助的话,我可以在今晚晚些时候将它粘贴到这里。
.to("spring-ws:https://WS-URI?webServiceTemplate=webServiceTemplate")