程序出现如下错误:可是把WsdlDocumentUrl和namespaceUri去掉就不会出现错误可以通过(http://localhost/FileReception/services/urn:FileAttachmentsService?wsdl在游览器端访问)。 但运行客户端程序时又说找不到url。 Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with 出 name 'fileReception' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.xml.rpc.ServiceException: Error processing WSDL document: java.io.IOException: Server returned HTTP response code: 503 for URL: http://localhost/FileReception/services/urn:FileAttachmentsService?wsdl Caused by: javax.xml.rpc.ServiceException: Error processing WSDL document: java.io.IOException: Server returned HTTP response code: 503 for URL: http://localhost/FileReception/services/urn:FileAttachmentsService?wsdl at org.apache.axis.client.Service.initService(Service.java:250) at org.apache.axis.client.Service.<init>(Service.java:165)
但运行客户端程序时又说找不到url。
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with 出
name 'fileReception' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.xml.rpc.ServiceException: Error processing WSDL document:
java.io.IOException: Server returned HTTP response code: 503 for URL: http://localhost/FileReception/services/urn:FileAttachmentsService?wsdl
Caused by:
javax.xml.rpc.ServiceException: Error processing WSDL document:
java.io.IOException: Server returned HTTP response code: 503 for URL: http://localhost/FileReception/services/urn:FileAttachmentsService?wsdl
at org.apache.axis.client.Service.initService(Service.java:250)
at org.apache.axis.client.Service.<init>(Service.java:165)