EI 6.6.0中的apache公理肥皂客户端类介体

时间:2020-07-08 23:17:38

标签: wso2 axis soap-client webservice-client axiom

我有一个使用apache公理库作为SOAP客户端的类介体:

<dependency>
    <groupId>org.apache.ws.commons.axiom</groupId>
    <artifactId>axiom-api</artifactId>
    <version>1.2.22</version>
</dependency>

<dependency>
    <groupId>org.apache.ws.commons.axiom</groupId>
    <artifactId>axiom-impl</artifactId>
    <version>1.2.22</version>
    <scope>runtime</scope>
</dependency>

<dependency>
    <groupId>org.apache.ws.commons.axiom</groupId>
    <artifactId>axiom-dom</artifactId>
    <version>1.2.22</version>
    <scope>runtime</scope>
</dependency>

该代码在本地用作Java应用程序。

但是当我尝试通过API在EI 6.6.0中运行它时,出现以下错误:

javax.xml.soap.SOAPException: Unable to create SOAP connection factory: com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnectionFactory cannot be cast to javax.xml.soap.SOAPConnectionFactory

0 个答案:

没有答案