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

unable to expose ABAP RFC as web service

Hi,

My requirement is as follows: Expose ABAP RFC as web service and consume that web service using NWDS.

Web Service Creation part:

I have designed a simple RFC and created web service for it. I am able to find that web service in WSCONFIG in green colour. And in WSADMIN also it is found. But I could not found it Web Services Navigator of XI server. I think in web service administration settings in WSADMIN, I have the wrong URL for J2EE server. The IP address over there is not same as the XI server IP. Is that the cause for this problem?

Web Service Consumption using NWDS:

I have created web service client proxy (following Web Services Cookbook guide) and written an application to call that web service. But i got a warning as follows:

Warning ! Protocol Implementation http://com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol could not be loaded (NoClassDefFoundError) !

Error Message is :com/sap/guid/GUIDGeneratorFactory

[Ljava.lang.StackTraceElement;@1551d7f

Please help me.

Thank you.

Regards

Bhanu Tiruveedula.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2008 at 01:59 AM

    Hi Bhanu

    Follow these links

    Exposing Remote Function Module as Web Service in XI - Step By Step

    Exposing Remote Function Module as Web Service in XI - Step By Step

    Without using XI in Web Dyn Pro

    Using RFC as WebService in WebDynpro

    Testing Web services

    Testing XI exposed Web-Services

    Communication between SAP System & Webservice Using Proxies

    Communication between SAP System & Webservice Using Proxies

    Thanks

    Gaurav

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2008 at 06:05 PM

    Hi !

    Every time we need to expose ABAP RFC as web service, we :

    1) import the RFC/BAPI definition in PI Integration Repository, and use it as inbound message

    2) create the outbound message

    3) map them

    4) use the option : "define web service" to make PI generate the wsdl file.

    5) create the corresponding objects in Integration Directory, that is : receiver determination, receiver agreement, soap sender channel, rfc receiver channel.

    6) develop your consume application using the wsdl file created in PI.

    7) the url where the service is published in the netweaver is :

    http://<serverhost>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<ServiceName>:<Channel Name>

    where ServiceName : Service used in your scenario.Channel Name : SOAP Sender Channel Name.

    Good luck !

    Regards,

    Matias.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2008 at 04:01 AM

    if you want to use that web service in NWDS, you can directly consume the WSDL file in NWDS, why are you want XI in between? just take the wsdl generated of RFC and consume it in NWDS.

    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.