我是新手用来WebserviceTemplate拨打客户电话。
我可以marshalSendAndReceive(request)用于单个暴露的 WS。在我的客户中,我也需要调用其他 WS。在我SpringConfig.xml的 中,jaxbMarshaller是用 a 定义的p:contextPath="com.acme.domain1.service1"。据我了解,contextpath用于编组请求。
那么,如果我需要调用service2其生成的类在 下com.foo.service2,我该如何在同一代码中执行此操作?我在自动装配WebserviceTemplate。