I'm using JaxRpcPortProxyFactoryBean to access a web service, and with the wsdlDocumentUrl set to file:///path/to/file.wsdl it works as expected.
But whenever I try to reference the file using a http://-URL, I get the following exception:
org.springframework.beans.factory.BeanCreationExce ption:
Error creating bean with name 'myBean' defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
Initialization of bean failed; nested exception is
javax.xml.rpc.ServiceException: Error processing WSDL document:
java.io.FileNotFoundException: http://localhost:8080/myWebApp/services/MyService?wsdl
I'm positive the wsdl is available at the location I specified. The local file I'm using was downloaded with wget from that URL.
Thank in advance,
Dan


Reply With Quote