This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 126321

Summary: Unusable portTypes are displayed in the wizard
Product: webservices Reporter: Roderico Cruz <rcruz>
Component: CodeAssignee: Milan Kuchtiak <mkuchtiak>
Status: NEW ---    
Severity: blocker CC: gmpatil
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Roderico Cruz 2008-01-30 19:36:17 UTC
This is coming from the JCAPs folks. Here is the description:
2. When the WSDL selected has defined service ports, only those ports are displayed. Even when there is an extra
portType-operation which didn't match to any of the existing services defined, I couldn't use that portType.

I think the following behavior seems more reasonable;

The user should be able to select any portType (abstract). Only for the selected portTypes the editor should generate
service and port. If the user has defined any service-ports, then the user should be given a chance to select these as
well as the choice of selecting any of the portTypes.
Comment 1 Milan Kuchtiak 2008-01-31 12:45:51 UTC
This looks as reasonable requirement.
Yes, we ignore portTypes than don't have the corresponding <service>:<port> element.
We should change this behaviour.
Comment 2 Lukas Jungmann 2008-04-14 17:16:07 UTC
moving opened issues where TM != dev to TM=TBD
Comment 3 Milan Kuchtiak 2008-09-22 13:57:04 UTC
Currently, if there is a service element specified, we don't allow to select abstract (additional) port types - with
missing wsdl:bindings.

This is a reasonable requirement. We also have to ask user to specify additional binding/service information for
abstract portType (service name/port name/soap version)