You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Lai (JIRA)" <tu...@ws.apache.org> on 2007/10/30 22:09:50 UTC

[jira] Created: (TUSCANY-1882) WSDL2Java doesn't generate code for a porttype not referenced by a service

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


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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1882) WSDL2Java doesn't generate code for a porttype not referenced by a service

Posted by "Raymond Lai (JIRA)" <tu...@ws.apache.org>.
     [ 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org