1

cxf:jaxws-service を使用してミュールで 1 つの Web サービスを作成しています。これは URL です:http://localhost:65042/InsertDocService/InsertDoc。WSDL ファイルを生成することはできますが、cxf:jaxws-client を使用してミュールでこのサービスを利用したいと考えています。

<flow name="documentumclientflowFlow1" doc:name="documentumclientflowFlow1">
    <inbound-endpoint address="http://localhost:65042/InsertDocumentumService/InsertDocumentum" doc:name="Generic"/>
    <cxf:jaxws-client operation="insertDocumentum" serviceClass="com.integration.IDocumentumInsert" port="80" mtomEnabled="true" enableMuleSoapHeaders="true" doc:name="SOAP"/>
    <outbound-endpoint address="http://locahhost:65042/InsertDocumentumService/InsertDocumentum" doc:name="Generic"/>
</flow>

これを呼び出すと、サービス プロジェクトに移動し、「org.apache.cxf.interceptor.Fault: No such operation: (HTTP GET PATH_INFO: /InsertDocumentumService/InsertDocumentum)」のようなエラーが発生します。この問題を解決する方法と、このサービスを利用する方法を教えてください。

4

1 に答える 1

0

タイプ(locahhostの代わりlocalhost)に加えて、インバウンドエンドポイントよりもアウトバウンドエンドポイントで同じアドレスを使用しようとしているようです。これはあなたがやりたいことではないと思います。ループする再入可能呼び出しが発生し、最終的にプール スレッドが使い果たされ、ブロックされ、タイムアウトになり、火災で死ぬからです。

では、「documentumclientflowFlow1」で何をしたいですか? あなたの質問からは不明です。

于 2012-05-25T16:08:20.490 に答える