Re: Axis to Axis2 migration doubt
Hi Deepak, I am gettigg the below message when using java2wsdl task. java.lang.NoClassDefFoundError: javax/xml/rpc/holders/StringHolder. here is the build file content. http://localhost:8080/services/${target.servicename.each}"; targetNamespace="urn:${target.servicename.each}"> my application was developed using axis1.2rc2 and used StringHolder ,Currently I am upgrading to Axis2.1.5. If axis2.1.5 is not supported StringHolders,How to upgrade the existing java files? Could you please le me know how to over come these issues(java2wsdl and existing appilication issues like to support StringHolders) Thanks in advance, mikkilineni deepak.pansheriya wrote: > > In my axis deployment file I use following operation node to describe IN > and OUT parameter of my method having signature as > > public short WMLS_GetFromStore(String WellTypeIn, String > XMLIn,StringHolder XMLOut, StringHolder SuppMsgOut) > > > > > > > > > > How to achieve same in Axis2? I can not able to find out way to define > parameter as OUT type with AXIS2. > could you please update me with way of achieving same with AXIS2? > > With Regards, > > Deepak Jerambhai Pansheriya > Tata Consultancy Services > Yantra Park -(STPI) > Mailto: deepak.pansher...@tcs.com > Website: http://www.tcs.com > > Experience certainty. IT Services >Business Solutions >Outsourcing > > =-=-= > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > > -- View this message in context: http://www.nabble.com/Axis-to-Axis2-migration-doubt-tp11942874p25332775.html Sent from the Axis - User mailing list archive at Nabble.com.
Re: Axis to Axis2 migration doubt
[EMAIL PROTECTED] wrote: How to achieve same in Axis2? I can not able to find out way to define parameter as OUT type with AXIS2. could you please update me with way of achieving same with AXIS2? Hi Deepak! 2 comments here. First, the Web Services Application Server (WSAS) from WSO2, which you can find at http://wso2.com/products/wsas, contains an Axis2 "custom deployer" for Axis1 services. This allows you to drop your existing service classes (jars) and server-config.wsdd into the Axis2-based server, and get some of the benefits of Axis2 (Modules, etc) without having to rewrite your code. You might want to check that out as a first step. Second, I definitely think that the holder concept is of great value, and it would be nice if Axis2 supported it in the native ADB databinding. Could you perhaps file a JIRA about this? Thanks, --Glen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Axis to Axis2 migration doubt
Hi Deepal, Could you give me one example source code or any URL from where I can get how to implement. Thanks, Deepak Deepal jayasinghe <[EMAIL PROTECTED]> 08/01/2007 04:49 PM Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Re: Axis to Axis2 migration doubt For that you have to create a Java bean (with the proprieties MLOut, SuppMsgOut ) and return that . > > Dear Deepal, > > When I am doing as directed by you, I get webservices which take all > arguments as IN type only.But my requirement is that the 3rd and 4th > argument XMLOut, SuppMsgOut should be return type(OUT mode). > > > thanks > Deepak > > > *Deepal Jayasinghe <[EMAIL PROTECTED]>* > > 08/01/2007 03:59 PM > Please respond to > axis-user@ws.apache.org > > > > To > axis-user@ws.apache.org > cc > > Subject >Re: Axis to Axis2 migration doubt > > > > > > > > > Well Axis2 does not support the holder concept , but you can easily > achieve your goal > - Just write a services.xml with specifying service class name > - Do not worry about the operation name, Axis2 will automatically will > creating the service analyzing the service impl class > > Thanks > Deepal > > > > In my axis deployment file I use following operation node to describe IN > > and OUT parameter of my method having signature as > > > > public short WMLS_GetFromStore(String WellTypeIn, String > > XMLIn,StringHolder XMLOut, StringHolder SuppMsgOut) > > > > > > > > > > > > > > > > > > > > How to achieve same in Axis2? I can not able to find out way to define > > parameter as OUT type with AXIS2. > > could you please update me with way of achieving same with AXIS2? > > > > With Regards, > > > > Deepak Jerambhai Pansheriya > > Tata Consultancy Services > > Yantra Park -(STPI) > > Mailto: [EMAIL PROTECTED] > > Website: http://www.tcs.com > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ForwardSourceID:NT3DCE > =-=-= > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > -- Thanks, Deepal . "The highest tower is built one brick at a time" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ForwardSourceID:NT3E26 =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
Re: Axis to Axis2 migration doubt
For that you have to create a Java bean (with the proprieties MLOut, SuppMsgOut ) and return that . > > Dear Deepal, > > When I am doing as directed by you, I get webservices which take all > arguments as IN type only.But my requirement is that the 3rd and 4th > argument XMLOut, SuppMsgOut should be return type(OUT mode). > > > thanks > Deepak > > > *Deepal Jayasinghe <[EMAIL PROTECTED]>* > > 08/01/2007 03:59 PM > Please respond to > axis-user@ws.apache.org > > > > To > axis-user@ws.apache.org > cc > > Subject > Re: Axis to Axis2 migration doubt > > > > > > > > > Well Axis2 does not support the holder concept , but you can easily > achieve your goal > - Just write a services.xml with specifying service class name > - Do not worry about the operation name, Axis2 will automatically will > creating the service analyzing the service impl class > > Thanks > Deepal > > > > In my axis deployment file I use following operation node to describe IN > > and OUT parameter of my method having signature as > > > > public short WMLS_GetFromStore(String WellTypeIn, String > > XMLIn,StringHolder XMLOut, StringHolder SuppMsgOut) > > > > > > > > > > > > > > > > > > > > How to achieve same in Axis2? I can not able to find out way to define > > parameter as OUT type with AXIS2. > > could you please update me with way of achieving same with AXIS2? > > > > With Regards, > > > > Deepak Jerambhai Pansheriya > > Tata Consultancy Services > > Yantra Park -(STPI) > > Mailto: [EMAIL PROTECTED] > > Website: http://www.tcs.com > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ForwardSourceID:NT3DCE > =-=-= > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > -- Thanks, Deepal "The highest tower is built one brick at a time" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Axis to Axis2 migration doubt
Dear Deepal, When I am doing as directed by you, I get webservices which take all arguments as IN type only.But my requirement is that the 3rd and 4th argument XMLOut, SuppMsgOut should be return type(OUT mode). thanks Deepak Deepal Jayasinghe <[EMAIL PROTECTED]> 08/01/2007 03:59 PM Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Re: Axis to Axis2 migration doubt Well Axis2 does not support the holder concept , but you can easily achieve your goal - Just write a services.xml with specifying service class name - Do not worry about the operation name, Axis2 will automatically will creating the service analyzing the service impl class Thanks Deepal > > In my axis deployment file I use following operation node to describe IN > and OUT parameter of my method having signature as > > public short WMLS_GetFromStore(String WellTypeIn, String > XMLIn,StringHolder XMLOut, StringHolder SuppMsgOut) > > > > > > > > > > How to achieve same in Axis2? I can not able to find out way to define > parameter as OUT type with AXIS2. > could you please update me with way of achieving same with AXIS2? > > With Regards, > > Deepak Jerambhai Pansheriya > Tata Consultancy Services > Yantra Park -(STPI) > Mailto: [EMAIL PROTECTED] > Website: http://www.tcs.com > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ForwardSourceID:NT3DCE =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
Re: Axis to Axis2 migration doubt
Well Axis2 does not support the holder concept , but you can easily achieve your goal - Just write a services.xml with specifying service class name - Do not worry about the operation name, Axis2 will automatically will creating the service analyzing the service impl class Thanks Deepal > > In my axis deployment file I use following operation node to describe IN > and OUT parameter of my method having signature as > > public short WMLS_GetFromStore(String WellTypeIn, String > XMLIn,StringHolder XMLOut, StringHolder SuppMsgOut) > > > > > > > > > > How to achieve same in Axis2? I can not able to find out way to define > parameter as OUT type with AXIS2. > could you please update me with way of achieving same with AXIS2? > > With Regards, > > Deepak Jerambhai Pansheriya > Tata Consultancy Services > Yantra Park -(STPI) > Mailto: [EMAIL PROTECTED] > Website: http://www.tcs.com > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Axis to Axis2 migration doubt
In my axis deployment file I use following operation node to describe IN and OUT parameter of my method having signature as public short WMLS_GetFromStore(String WellTypeIn, String XMLIn,StringHolder XMLOut, StringHolder SuppMsgOut) How to achieve same in Axis2? I can not able to find out way to define parameter as OUT type with AXIS2. could you please update me with way of achieving same with AXIS2? With Regards, Deepak Jerambhai Pansheriya Tata Consultancy Services Yantra Park -(STPI) Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you