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)
任何人以前都遇到过这个问题。你能帮助我吗?