2011 Jan 31 12:27 PM
Hi Colleagues,
I have a fuction module in ABAP system. Now I want to Generate java code for the FM.
I cam to know that we can achive that using AXIS, By getting the XML file for the fuction module and generate Java
Class file using that XML file.
Can any one tell me how to achive it.
Or any other way to do that?
Please provide you valid suggestions.
Regards,
Sathya
2011 Jan 31 2:05 PM
Hi,
Do you mean you want to call this function module in SAP by an external program ? AXIS can be used to create Java code to call a webservice.
2011 Feb 01 4:44 AM
Hi ,
I have generated the WSDL file for the ABAP function module. now I want to create Java code for that.
Do we need to integrate AXIS to Eclipse to do this? If so is there any document available for it?
Regards,
Sathya
Edited by: SathyaSekar K on Feb 1, 2011 5:45 AM
2011 Feb 03 1:29 PM
Hi,
You can integrate axis2 in eclipse. I think you have to find the plugin for that.
After that you can let axis generate the jave code (stubs and proxies) for your web service via the wsdl file.
Kind Regards,
Robin
2011 Feb 04 4:33 AM
Hi Friends,
thanks for your relpy. At last I managed to get java code. I am using axis 1.3. I installed the plug in and ran the foloowing command in DOS.
java -cp %AXISCLASSPATH% org.apache.axis.wsdl.WSDL2Java -o MyWSDL.wsdl
Regards,
Sathya
2011 Feb 03 9:05 AM
Hi
Maybe you'll find examples in Axis developer's guide :
http://axis.apache.org/axis/java/developers-guide.html
Regards