【发布时间】:2013-10-31 07:33:15
【问题描述】:
我正在尝试使用按照 mule 文档中的教程生成的 Web 服务。已经能够成功构建 Web 服务,但在使用它时遇到问题。我有两个 Java 类“HelloWorld”和“HelloWorldImpl”。这是我的流程
<flow name="helloService" doc:name="helloService">
<http:inbound-endpoint address="http://localhost:63081/hello" exchange-pattern="request-response" doc:name="HTTP">
<cxf:jaxws-service serviceClass="com.test.HelloWorld"/>
</http:inbound-endpoint>
<component class="com.test.HelloWorldImpl" doc:name="Java"/>
<cxf:jaxws-client serviceClass="com.test.HelloWorld" operation="sayHi" doc:name="SOAP" />
<outbound-endpoint address="http://localhost:63081/services/greeter" doc:name="Generic"/>
</flow>
我做错了什么?
当我访问出站端点时,我得到了
Cannot bind to address "http://activate.adobe.com:63081/services/greeter" No component registered on that endpoint
【问题讨论】:
-
您要使用哪个服务? localhost:63081/hello 还是第二个 localhost:63081/services/greeter?
-
localhost:63081/hello
-
我已经编辑了我的答案。试试看。
标签: web-services soap jax-ws cxf mule