ok, thank you.


From: Spies, Brennan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 17, 2006 5:00 PM
To: axis-user@ws.apache.org
Subject: RE: how to: code generation when there are multiple interfaces for a single service in WSDL

Yadav,

 

I think you are running into a similar issue that Robert and I were discussing with Jerome earlier, where Axis 2 WSDL2Java code generation does not seem to be handling portType/bindings with multiple <operation>s. You should either create a JIRA or attach a comment to an existing one if Jerome has created it already.

 

Brennan Spies

Sr. Programmer Analyst

Shared Application Services

 

-----Original Message-----
From: Yadav, Yogendra (IT) [mailto:[EMAIL PROTECTED]
Sent:
Tuesday, October 17, 2006 11:50 AM
To: axis-user@ws.apache.org
Subject: how to: code generation when there are multiple interfaces for a single service in WSDL

 

I am trying to generate code for WSRP WSDL. This WSDL has one service name WSRPService and multiple interfaces:

WSRPBaseService

WSRPServiceDescriptionService

WSRPRegistrationService

WSRPPortletManagementService

 

Commend used: wsdl2java -d adb -p com.sample -ss -sd -g -uri wsrp_service.wsdl -pn WSRPServiceDescriptionService

 

First run generates code alright, subsequent runs say "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.

 

Files are attached.

 


NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.


NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.

Reply via email to