You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Alexey Zavizionov <al...@exoplatform.com.ua> on 2007/07/03 11:03:38 UTC

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

Hi,

I cannot reopen issue and cannot vote on resolved issues. I hear
nothing from owner of the jira bug. I really want to use axis2, but
some bugs really blocked my future work with it.

Thats simplier task to generate code takes much more times than I thought.

Thanks,
Alexey

On 7/3/07, Jess Fisher <d_...@yahoo.com> wrote:
> Yes, you need to manually change name. I know this is not pretty at all. But
> this Axis bug for Axis2 is still not yet fixed. I see you added a note in
> the jira to re-open the bug. Any response from the owner of the jira bug? We
> are not the only one experiencing this problem. The Axis2 user group have a
> few people who have encountered this problem
>
> Alexey Zavizionov <al...@exoplatform.com.ua>
> wrote:
> Hello, Jess
> Thanks for your response
>
> For me, manually run wsdl2java multiple times looks unfriendly,
> because I should manually change name of port interface for geregated
> service (reason: for all ports it's same name).
>
> Why wsdl2java can't generate sources for all ports by default?
>
> Regards,
> Alexey
>
> On 7/2/07, Jess Fisher wrote:
> > Yeah, I tried the Axis2 1.2 version nightly and it's still not fixed.
> > I had to manually run wsdl2java multiple times - for each port to get all
> > the stubs and skeletons created. This was not a problem in Axis1.4
> >
> > "Alexey Zavizionov (JIRA)" wrote:
> >
> > [
> >
> 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.
> >
> >
> >
> >
> > ________________________________
> > Need a vacation? Get great deals to amazing places on Yahoo! Travel.
> >
> >
>
>
>
>  ________________________________
> Luggage? GPS? Comic books?
>  Check out fitting gifts for grads at Yahoo! Search.
>
>

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