Google App Engine + SOAPConnection错误

时间:2013-02-20 07:22:17

标签: java google-app-engine soap

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()方法上调用了这个方法,还可以。 但是当我试图调用dev环境或服务器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)

之前有人遇到过这个问题。你能帮助我吗?

1 个答案:

答案 0 :(得分:1)

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