apache / apache/netbeans

GUI: "Web Service References" Node in Client not working

Open
#3,903 0 comments 0 reactions 0 assignees View on GitHub
kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 13

### What happened

I created a little Hello World kind of SOAP web service (Ant Web Application project type) and deployed it on GlassFish server with NetBeans 13.
Then I created a client (Ant Java Application project type) and added a web service client there.
The WSDL was properly added.
When I try to consume the web service I noticed that the "Web Service References" node is not properly shown:
![image](https://user-images.githubusercontent.com/99656366/161002208-5d28ff0d-f8e7-4223-838e-6bf8424bf09b.png)

I'd expected to be able to see the operation of the web service in the tree and drag&drop it to some Java class to automatically create the necessary code to consume the web service and its operation there.

Do I miss something here?

### How to reproduce

Create a SOAP web service with Ant Web Application project type and deploy it on a GlassFish Server.
Create a Java application with Ant Java Application project type and add a web service client.
See if the "Web Service References" node is properly shown in the client project.

### Did this work correctly in an earlier version?

Apache NetBeans 12.3 or earlier

### Operating System

Windows 10

### JDK

JDK 8 and 17 tried out as JDK of the projects

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

_No response_

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with an Ant Web Application SOAP service on GlassFish and an Ant Java Application client, using NetBeans 13 and the earlier 12.3 behavior as a comparison. Start at the client project's “Web Service References” node; done means the service operations appear in the tree and can be dragged to a Java class to generate client code.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.