Skip to Content
author's profile photo Former Member
Former Member

How to convert a webservice made out of BAPI to java?

Hi All,

There is typical requirement in our project where in we have to convert all the webservices that we made out of the BAPI's into java webservice.

I understand that the wsdl file released is an XML file. But I don't understand like how to convert the existing wsdl file into a java webservice.

Let me know how can I acheive the result.Loking forward.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 04:08 PM

    What exactly are you trying to do .. do you want to consume the wsdl in java .or create a JAVA webservice with the same functionality as the BAPI. If it is the second one i think you have to re write the whole business logic that the BAPI contains in a EJB and create a webservice out of it.Correct me if i am wrong.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 20, 2007 at 05:19 PM

    Hello Dipendra,

    I am not very sure, what is your exact requirement. Correct me if i am wrong, you want to convert .wsdl(service) to java service.

    Web Services are

    - Reusable application components

    - Connect existing software , in other terms it doesn't care about platform and service developed language

    - Web services help solve the interoperability problem by giving different applications a way to link their data.

    - Using Web services you can exchange data between different applications and different platforms out of System Firewall.

    If your want define the Same ABAP Function Module Service to EJB/ JAVA Service you need to write all the business logic in JAVA. It creates same .wsdl for the service and you use the same in your Web Dynpro. Accessing in Web Dynpro is same for any kind of service.

    If you want to access BAPI Service in JAVA instead of Web Dynpro, you need to create a Proxy (Deplyable / Standalone) and call this service in EJB. This is useful if you want to move your service accessing logic from Web Dynpro to some middle ware (EJB), this is useful.

    Hope i might have explained clearly. Write me back, if you are not clear.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.