File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes What's wrong with my WSDL ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "What Watch "What New topic

What's wrong with my WSDL ?

Jose Campana
Ranch Hand

Joined: May 28, 2007
Posts: 339
Good morning to you all,

I would like to share with you a problem I'm having with a WSDL file, that was generated by NetBeans. I'll post it here next:

Even though it is long, it belongs to a very Basic web service. Now, I'm just a new student to WSDL syntax, so, I do not quite understand why do I get the following error:

WSDL file does not contain port information.

This happens when I use one of NetBeans' wizards, specifically the New Web Service Client wizard.

Could somebody please tell me What's wrong and how can I correct it?

Thanks for all your efforts.


Jose Campana
Ranch Hand

Joined: May 28, 2007
Posts: 339

I got it. I didn't notice that, unlike other Tools, NetBeans does not place the location for the WS.
Instead it just puts: REPLACE_WITH_ACTUAL_URL

Now, let's see what other problem, must I resolve next.


Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1183

Thank you for the example! Interestingly, the tool generated namespaces ns5 and ns6 as duplicates of ns1.


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Jose Campana
Ranch Hand

Joined: May 28, 2007
Posts: 339
You're welcome,

I'm glad I can contribute, even if it is a contribution as small as mine.

- Jose
I agree. Here's the link:
subject: What's wrong with my WSDL ?
It's not a secret anymore!