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 "yogen (JIRA)" <ji...@apache.org> on 2006/10/17 23:19:35 UTC

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

Can't generate code for more than one interface using wsdl2java
---------------------------------------------------------------

                 Key: AXIS2-1435
                 URL: http://issues.apache.org/jira/browse/AXIS2-1435
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.1
         Environment: Sun JDK 1.5, WinXP
            Reporter: yogen


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


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

Posted by "Alexey Zavizionov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Zavizionov updated AXIS2-1435:
-------------------------------------

    Attachment: wsrp_v1_interfaces.wsdl

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: wsrp_service.wsdl, wsrp_v1_bindings.wsdl, wsrp_v1_interfaces.wsdl
>
>
> 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


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

Posted by "Alexey Zavizionov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Zavizionov updated AXIS2-1435:
-------------------------------------

    Attachment: wsrp_v1_types.xsd

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: wsrp_service.wsdl, wsrp_v1_bindings.wsdl, wsrp_v1_interfaces.wsdl, wsrp_v1_types.xsd
>
>
> 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


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

Posted by "Alexey Zavizionov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507176 ] 

Alexey Zavizionov commented on AXIS2-1435:
------------------------------------------

I use command line

-s -ss -sd -ssi -g -d none -t -o ${src.gen.dir} -ns2p urn:oasis:names:tc:wsrp:v1:intf=org.exoplatform.services.wsrp.intf,urn:oasis:names:tc:wsrp:v1:types=org.exoplatform.services.wsrp.type,urn:oasis:names:tc:wsrp:v1:bind=org.exoplatform.services.wsrp.bind,urn:oasis:names:tc:wsrp:v1:wsdl=org.exoplatform.services.wsrp.wsdl -p org.exoplatform.services.wsrp.wsdl -uri wsrp_service.wsdl

> 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
>            Assignee: 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


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

Posted by "Alexey Zavizionov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Zavizionov updated AXIS2-1435:
-------------------------------------

    Attachment: wsrp_service.wsdl

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: wsrp_service.wsdl, wsrp_v1_bindings.wsdl, wsrp_v1_interfaces.wsdl
>
>
> 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


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

Posted by "Alexey Zavizionov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507175 ] 

Alexey Zavizionov commented on AXIS2-1435:
------------------------------------------

Fix doesn't approved!

Please, reopen issue.

> 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
>            Assignee: 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


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

Posted by "Alexey Zavizionov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Zavizionov updated AXIS2-1435:
-------------------------------------

    Attachment: wsrp_v1_bindings.wsdl

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: wsrp_service.wsdl, wsrp_v1_bindings.wsdl, wsrp_v1_interfaces.wsdl
>
>
> 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


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510058 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-1435:
-----------------------------------------------------

you have not attached the wsrp_v1_types.xsd.
Since you have different porttypes for different bindings, the only way you can use is 
<wsdl:service name="WSRPService1">
        <wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP" name="WSRPBaseService">
            <soap:address location="http://localhost:8080/WSRPService"/>
        </wsdl:port>
    </wsdl:service>

    <wsdl:service name="WSRPService2">
        <wsdl:port binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP" name="WSRPServiceDescriptionService">
            <soap:address location="http://localhost:8080/WSRPService"/>
        </wsdl:port>
    </wsdl:service>

    <wsdl:service name="WSRPService3">
        <wsdl:port binding="bind:WSRP_v1_Registration_Binding_SOAP" name="WSRPRegistrationService">
            <soap:address location="http://localhost:8080/WSRPService"/>
        </wsdl:port>
    </wsdl:service>

    <wsdl:service name="WSRPService4">
        <wsdl:port binding="bind:WSRP_v1_PortletManagement_Binding_SOAP" name="WSRPPortletManagementService">
            <soap:address location="http://localhost:8080/WSRPService"/>
        </wsdl:port>
    </wsdl:service>

split them as different services. then you can generate the code to all at one time.

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: wsrp_service.wsdl, wsrp_v1_bindings.wsdl, wsrp_v1_interfaces.wsdl
>
>
> 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


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Alexey Zavizionov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509824 ] 

Alexey Zavizionov commented on AXIS2-1435:
------------------------------------------

I have just posted here wsdl file wsrp_service.wsdl  which I use

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: wsrp_service.wsdl, wsrp_v1_bindings.wsdl, wsrp_v1_interfaces.wsdl
>
>
> 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


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

Posted by "Alexey Zavizionov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510096 ] 

Alexey Zavizionov commented on AXIS2-1435:
------------------------------------------

Thanks for help!
OK, It is possible to split them as different services, but I cannot do it because it forbidden by wsrp specification.

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: wsrp_service.wsdl, wsrp_v1_bindings.wsdl, wsrp_v1_interfaces.wsdl, wsrp_v1_types.xsd
>
>
> 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


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

Posted by "Jess Fisher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483265 ] 

Jess Fisher commented on AXIS2-1435:
------------------------------------

Where/How can I get the fix for this issue?

> 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


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

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-1435:
------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509807 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-1435:
-----------------------------------------------------

can you attach your wsdl, I could not access the wsdl through your given link.
Here is the way wsdl2java generates the code.
When generating Stub wsdl2java generates code for all services (unless you have restricted)
When generating Stub for a service if you have given -ap (use this option) It generates stubs for all the ports.
Here wsdl2java assume all your ports refer to same portType ( if not it picks one port Type and generate code for it).

So if you want to generate code for all ports,
1. first make sure one service refer only to one portType (otherwise add a new service)
2. use -ap option

> 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
>            Assignee: 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