简体   繁体   English

Google App Engine + SOAPConnection错误

[英]Google App Engine + SOAPConnection error

Problem in SOAP connection I'm trying build SOAP connection. 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();

I called this method on main() method it still ok. 我在main()方法上调用此方法仍然可以。 But when I tried to call on dev environment or server google appengine it will error. 但是,当我尝试调用开发环境或服务器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)

Anyone has faced this issue before. 任何人以前都曾遇到过这个问题。 Can you help me? 你能帮助我吗?

This is likely due to the fact that it is not able to find the correct TransformerFactory implementation from your linked libraries and CLASSPATH. 这可能是由于它无法从链接的库和CLASSPATH中找到正确的TransformerFactory实现。 Check if this helps you: http://code.google.com/p/appengine-mapreduce/issues/detail?id=9 检查这是否对您有帮助: http : //code.google.com/p/appengine-mapreduce/issues/detail?id=9

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM