wood burning stoves 2.0*
The moose likes Web Services and the fly likes wsdlLocation issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdlLocation issue" Watch "wsdlLocation issue" New topic
Author

wsdlLocation issue

Ashish Yadav
Greenhorn

Joined: Sep 09, 2009
Posts: 3
Hi,

I am deploying JAX-WS webservice as a servlet endpoint using JBoss 4.3.0 and Java 1.6. My service implemantation class has below @Webservice annotation.
@WebService(serviceName = "TestServiceImpl", endpointInterface = "com.abc.service.test.sei.TestSEI",
targetNamespace = "http://test.service.abc.com/",
wsdlLocation = "/TestService.wsdl")

I am struggling with wsdlLocation, I need my WSDL to be outside of my war file; when I am doing so it is only recognizing the absolute path (eg. wsdlLocation = "C:\\Jboss 4.3/server/default/deploy/TestService.wsdl"). I need to provide some relative path here so that I will not require changing my code when deploying to UNIX environment. I had already tried many combinations of relative path but no luck.

Please help.
Thanks in advance!

-Ashish
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wsdlLocation issue
 
Similar Threads
Configure wsimport to not insert wsdl location in client service class?
Jboss not finding Webapplication
Jboss Starter Duke's Bank Application
Best practices regarding client code generation to a third party webservice and deployment issues
developing web services using netbeans (error on deploying application)