Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Java code for the function module

Former Member
0 Kudos
115

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

5 REPLIES 5

Former Member
0 Kudos
57

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.

0 Kudos
57

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

0 Kudos
57

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

0 Kudos
57

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

Former Member
0 Kudos
57

Hi

Maybe you'll find examples in Axis developer's guide :

http://axis.apache.org/axis/java/developers-guide.html

Regards