Hi Andres,
Have you tried using a relative path - i.e. "./wsdl/AnotherService.wsdl" ?
Cheers,
- Dan
On 2/9/07, Andres Ortiz <[EMAIL PROTECTED]> wrote:
Hi,
I am deploying a CXF service using the spring container. It works well,
however this service refers to another service. I do not want to hardcode
the WSDL reference to the other service so I am trying to get it as a
resource:
URL wsdlURL =System.class.getResource("/AnotherService.wsdl");
But I am getting a null wsdlURL when I deploy the service in the spring
container.
If I run a standalone client, it can find the WSDL as a resource in the
classpath without a problem.
How can I add the wsdl directory in WEB-INF/wsdl to the classpath?
Thanks,
Andres Ortiz
--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog