0

SOAP 连接中的问题 我正在尝试建立 SOAP 连接。

SOAPConnection con = SOAPConnectionFactory.newInstance() .createConnection();
SOAPMessage resMsg = con.call(reqMsg, "https://www.eway.com.au/gateway/rebill/test/managerebill_test.asmx");
con.close();

我在 main() 方法上调用了这个方法,它仍然可以。但是,当我尝试调用开发环境或服务器 google appengine 时,它​​会出错。

    SEVERE: SAAJ0540: Error during saving a multipart message
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message
    at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(Unknown Source)
    at com.eway.soap.server.SoapRequestServlet.createCustomer(SoapRequestServlet.java:187)

Caused by: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
    at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)

任何人以前都遇到过这个问题。你能帮助我吗?

4

1 回答 1

1

这可能是因为它无法从您的链接库和 CLASSPATH 中找到正确的 TransformerFactory 实现。检查这是否对您有帮助:http ://code.google.com/p/appengine-mapreduce/issues/detail?id=9

于 2013-02-20T08:12:43.297 回答