[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]