Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Netbeans and WSDL file location

843833Jun 4 2007 — edited Jan 18 2008
Hello,

I'm new to web services and the Netbeans Web Services client wizard. I'm creating a simple web app that calls a 3rd party web service. I'm able to use Netbean's client wizard to create a ws client (stub code) from a local WSDL file. When I deploy the web app on my production server I get a javax.xml.ws.WebServiceException: java.io.FileNotFoundException when I create a new instance of the web service. This is not surprising since the production system does not have a local copy of the WSDL file at the exact path as on my dev system. I noticed the wizard seemed to have copied the WSDL file to WEB-INF\wsdl\client\ so I figured that's the file that would be used, but when I looked at the stub code it seems to have the path to my local WSDL hard coded in it. What's the correct way for deploying a web service client that is generated from a local WSDL file? I know there is a version of the Service constructor that allows you to specify a URL (and QName), but I'd rather not take this route unless it's what's supposed to be used.

TIA

Comments

843833
Hi, I've ran into the same problem. Did you figure it out?

fabiool_uk
843833
anyone knows the solution to this?
843833
We are running into the same problem. Has anyone found any information on deploying Web Service clients generated from a local WSDL?
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 15 2008
Added on Jun 4 2007
3 comments
255 views