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

SMP OData Service Authentication Issue

Hii There..

I am very much new to SAP SMP environment and hence please pardon any mistakes i make while narrating my problem.

Scenario :

We have some SOAP Services exposed from our SAP team that run upon basic Authentication [Username, password combination].

I was able to create a project in Eclipse for OData model Mapping, but the problem is that after deploying the service on the SMP Server, how can i access the same.

I have tried creating a destination in the management cockpit, and entered the following details :

1. Destination Type : HTTP

2. Destination URL : Endpoint URL from WSDL Service.

3. Auth type : BASIC

4. Username : the username i got from SAP Team.

5. Password : password

and saved it.

Then i went to services in the management cockpit and added Destination for the Service.

Now when i try to access the service document, it works fine and i can browser the entity types. however, when i try to retrieve list of entries for a particular entity, it throws

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

<code/>

<message xml:lang="en">Could not send Message.</message>

</error>

I tried doing the same through a REST Client, however the same response was recieved there too..

My Questions are as follows :

  1. how can i use Map a Secure [Basic Auth Driven] SOAP Service into a ODATA Service and Deploy it to the SMP Server. ??
  2. How to access the same deployed service from mobile apps and Rest Client. ?

I know that the SAP Team itself can convert it's SOAP services to OData Services, but i would like to do it with Any Third Party Web Service in the future, and hence i am strongly willing to do it with the same SAP SOAP Service.

Kindly guide me towards the solution as i have been searching for the solution for around 3 days.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 04, 2014 at 05:49 AM

    Former Member

    Hi Manish,

    There is no more eclipse Juno support from SAP side and SAP recommends to use Eclipse Kepler for working on any SAP Mobile Platform tools. See this announcement.

    How to install SAP Mobile Platform Tools for Integration Gateway in Eclipse IDE

    Please share below details:

    SMP version ? (e.g. 3.0 SP04)

    Is there any proxy required to access that SOAP WS ? please check in your browser>proxy settings. If yes, you have to set the proxy in eclipse Kepler.

    Can you share the eclipse error logs as well.

    Help>About Eclipse>Installation Details>Configuration<View Error Logs

    Regards,

    JK

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 04, 2014 at 03:33 AM

    Hi Manish,

    You don't need to create a destination in the case of SOAP as a backend protocol. Your questions are answered in these blog: How to connect SOAP WebServices with Integration Gateway in SMP3 (use eclipse kepler instead of juno even the blog is done using juno). Writing Custom Script in SMP 3 Integration Gateway

    Let me know if you have any other questions.

    Regards, Midhun

    SAP Customer Experience Group - CEG

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Manish,

      As Jitendra mentioned, recommended approach is to use SMP tools with Kepler.

      If you are using Integration Gateway for the first time, to troubleshoot the issue I would suggest you to check with a sample SOAP service given in the blogs to make sure everything goes well with Odata model deployment to SMP server. If that works double check odata models you created. You can provide more details on the odata models created using your WSDL.

      Regards, Midhun

      SAP Customer Experience Group - CEG

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.