[
https://issues.apache.org/jira/browse/TUSCANY-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raymond Lai updated TUSCANY-1882:
---------------------------------
Attachment: AddressBookNoService.wsdl
You can reproduce the problem using the attached WSDL.
> WSDL2Java doesn't generate code for a porttype not referenced by a service
> --------------------------------------------------------------------------
>
> Key: TUSCANY-1882
> URL: https://issues.apache.org/jira/browse/TUSCANY-1882
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Tools
> Affects Versions: Java-SCA-1.0
> Environment: OS is Windows XP Professional SP2, and the WSDL2Java
> command line tool is invoked inside an Eclipse 3.3 plugin.
> Reporter: Raymond Lai
> Attachments: AddressBookNoService.wsdl
>
>
> The PortType already contains the information to generate the interface and
> related code. We don't necessarily need a service element to contain the
> binding to refer to the port type, because we can just use the WSDL as the
> interface but do not use the WSDL as the binding for the SCA service. For
> example, we can use the WSDL as the interface and use EJB binding. Therefore,
> the lack of a service element in the WSDL should not prevent code generation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]