You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/03/14 13:13:09 UTC

[jira] Resolved: (AXIS2-1435) Can't generate code for more than one interface using wsdl2java

     [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-1435.
-------------------------------------------------

    Resolution: Fixed

now generates the code for all the services and ports

> Can't generate code for more than one interface using wsdl2java
> ---------------------------------------------------------------
>
>                 Key: AXIS2-1435
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1435
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: Sun JDK 1.5, WinXP
>            Reporter: yogen
>         Assigned To: Amila Chinthaka Suriarachchi
>
> I am using wsdl2java to generate code for WSRP WSDL, find WSDL at this location:
> https://svn.apache.org/repos/asf/portals/wsrp4j/trunk/wsdl
> Ideally, command
> >wsdl2java -d xmlbeans -p com.sample -ss -sd -g -uri wsrp_service.wsdl 
> should generate code for all the interfaces in WSDL but wsdl2java randomly picks up anyone interface and generates the code for it.
> When its run subsequently to generate code for other interfaces, it says "INFO: File .\src\com\sample\WSRPServiceStub.java will not be overwritten."
> C:\work\WSRP>wsdl2java -d adb -p com.sample -ss -sd -g -uri wsrp_service.wsdl -pn WSRPServiceDescriptionService
> Using AXIS2_HOME:   C:\software\axis2-rc1
> Using JAVA_HOME:    //ms/dist/msjava/PROJ/sunjdk/1.5.0_04
> Retrieving document at 'wsrp_v1_bindings.wsdl', relative to 'file:/C:/work/WSRP/'.
> Retrieving document at 'wsrp_v1_interfaces.wsdl', relative to 'file:/C:/work/WSRP/wsrp_v1_bindings.wsdl'.
> Retrieving schema at 'wsrp_v1_types.xsd', relative to 'file:/C:/work/WSRP/wsrp_v1_interfaces.wsdl'.
> Retrieving schema at 'xml.xsd', relative to 'file:/C:/work/WSRP/wsrp_v1_types.xsd'.
> Oct 17, 2006 2:42:06 PM org.apache.axis2.wsdl.codegen.writer.ClassWriter createOutFile
> INFO: File .\src\com\sample\WSRPServiceSkeleton.java will not be overwritten.
> Oct 17, 2006 2:42:06 PM org.apache.axis2.wsdl.codegen.writer.ClassWriter createOutFile
> INFO: File .\src\com\sample\WSRPServiceMessageReceiverInOut.java will not be overwritten.
> Oct 17, 2006 2:42:06 PM org.apache.axis2.wsdl.codegen.writer.ClassWriter createOutFile
> INFO: File .\src\com\sample\InvalidRegistrationException.java will not be overwritten.
> Oct 17, 2006 2:42:06 PM org.apache.axis2.wsdl.codegen.writer.ClassWriter createOutFile
> INFO: File .\src\com\sample\OperationFailedException.java will not be overwritten.
> Oct 17, 2006 2:42:06 PM org.apache.axis2.wsdl.codegen.writer.ClassWriter createOutFile
> INFO: File .\src\com\sample\WSRPServiceCallbackHandler.java will not be overwritten.
> Oct 17, 2006 2:42:06 PM org.apache.axis2.wsdl.codegen.writer.ClassWriter createOutFile
> INFO: File .\src\com\sample\InvalidRegistrationException.java will not be overwritten.
> Oct 17, 2006 2:42:06 PM org.apache.axis2.wsdl.codegen.writer.ClassWriter createOutFile
> INFO: File .\src\com\sample\OperationFailedException.java will not be overwritten.
> Oct 17, 2006 2:42:06 PM org.apache.axis2.wsdl.codegen.writer.ClassWriter createOutFile
> INFO: File .\src\com\sample\WSRPServiceStub.java will not be overwritten.

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