You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <tu...@ws.apache.org> on 2006/09/29 09:24:51 UTC

[jira] Updated: (TUSCANY-754) WSDL2Java should set the correct annotation for the generated java interface

     [ http://issues.apache.org/jira/browse/TUSCANY-754?page=all ]

Luciano Resende updated TUSCANY-754:
------------------------------------

    Attachment: tuscany754.lresende.20090929.zip

Here is a patch for generating the annotated interfaces. The patch extends axis InterfaceWriter to load a modified InterfaceTemplate XSLT to generate the interfaces with the proper annotation and imports.

The attached zip file contains a patch that modifies JavaInterfaceEmmiter.java and 2 files that need to be added to svn (RemotableInterfaceWriter.java and RemotableInterfaceTemplate.xls)

Note that, due to usage of the @DataType, projects (e.g BigBank) would have to add the following dependecy 

<dependency>
	<groupId>org.apache.tuscany.sca.kernel</groupId>
	<artifactId>tuscany-api</artifactId>
	<version>1.0-incubator-M2-SNAPSHOT</version>
	<scope>compile</scope>
</dependency> 

Please take a look at this and let me know if there is any question... 

> WSDL2Java should set the correct annotation for the generated java interface
> ----------------------------------------------------------------------------
>
>                 Key: TUSCANY-754
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-754
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Tools
>    Affects Versions: Java-M2
>            Reporter: Raymond Feng
>         Assigned To: Luciano Resende
>         Attachments: tuscany754.lresende.20090929.zip
>
>
> The generated java interface should be annotated with the following so that it can be mappable to the WSDL.
>     @Remotable
>     @DataType(name="commonj.sdo.DataObject")

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org