Skip to Content

Web Service Issues

Hi All,

I have developed a FM and have exposed it as a web service on our R/3 server (WAS 640). I have released and published it on the R/3 server. I have an external application that will consume the web service. We are having a little difficulty call the web service URL from the external application. I can see the web service released, activated and published in WSADMIN but the external application just is not able to call it. Here are my questions:

1). Does the web service need to be published on the J2EE server or the external applications can call it

directly from the R/3 server?

2). Does the web service need to be published on UDDI server?

3). What's the syntax of the URL that the external application will need to consume it?

4). Are there any specific roles or authorizations that need to be applied?

5). How can we restrict the use by having login id and password and how will that affect the syntax of the URL?

Also, please do not refer me to any blogs or SAP help as I have read a lots of those blogs but none of them really address these issues.

Please only answer if you could answer these questions or at least give me some ideas.

Regards and Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Apr 23, 2008 at 01:58 PM

    Any Web Services gurus out there??

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 06, 2008 at 10:42 PM

    Here are what I have done to make SAP Web services worked in my environment( WAS 620) which I think should be similar to WAS 640. Just pick what applies to you.

    -- Once you create and activate remoted FMs --> the WAS will register the FM as a web service and publish it on builtin SAP UDDI : http://<host_name>:<port_number>/sap/bc/bsp/sap/WebServiceBrowser/search.html?sap-client=<relevant_client>. Check your server address and port in tcode SMICM.

    -- Call the web service directly from external application ( I call SAP web service from .NET website without any problem).

    -- the URL has the format:

    http://<host_name>:<port_number>/sap/bc/soap/wsdl/?services=<functionmodule_name>&sap-client=<relevant_client>

    -- There is authorization object S_RFC for the web service. Just have your SAP security guy set up this object for the function group hosting your RFC FM. That will allow you control access to web service to certain user account.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 07:02 PM

    Hi Developer, I have similar questions as you did. Can you please update the message with what you did to overcome the same. I am trying to publish the web service for BW query.

    Thanks in advance,

    DD

    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.