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!

Trouble adding webservice client

843834Dec 23 2009 — edited Dec 23 2009
Hello

I'm using NetBeans 6.8. I need to add a web service reference which is over SSL. The wsdl url is https://somehost:8071/Service.svc?wsdl, I can browse it via Internet Exploer, I can add a reference from Visual Studio, but it fails from netbeans.

Here's the steps I'm making:
1) Right click on Source Packages folder, New -> Web Service Client
2) I check WSDL URL and fill it with wsdl URI.
3) I click finish

then I get an error saying: "Problem with downloading wsdl or schema file.
Check the URL, proxy settings or whether the server is running."

After that, I downloaded the wsdl from the browser, and tried to add the client using wsdl file, but now I receive
"IOException thrown when processing "https://somehost:8071/Service.svc?xsd=xsd0".
Server returned HTTP response code: 403"

I suspect that I need to specify the certificate while adding the service client, but don't know how. maybe i'm wrong and the problem is something different.

any ideas?

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 20 2010
Added on Dec 23 2009
3 comments
341 views