Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3548

Intergration Gateway of Open Text Soap Services Issue

$
0
0

Hii,

 

I followed these steps for Integration.

 

1. Description of SOAP Webservice:

  We are using OpenText SOAP services. The payload for this service is as follows. It  takes two input parameters – username & password

    

   1.PNG

2. On executing the web service , we get the following output which gives an authentication token as output.

 

2.PNG

 

3. Based on the above description, we have followed the steps mentioned in the below  url : 


http://scn.sap.com/people/marvin.hoffmann/blog/2014/03/15/how-to-connect-soap-webservices-with-integration-gateway-in-smp3


The entity set comprises of username, password & responseToken.

 

3.PNG

4. In the Select Data Source Wizard, we have selected operation as Read and Data Source as SOAP Webservice

    We have done the request and response mapping for read operation.

 

  Request Mapping :

 

   

4.PNG

 

Response Mapping :

 

5.PNG

 

5.We have successfully deployed the Service Implementation Project on SMP as below in

 

       6.PNG

    7.PNG

     8.PNG

6.Created a new application with application id com.sap.authenticate  with endpoint

 

https://hostname:8083/gateway/odata/SAP/DEMO;v=1

request is reaching to backend server successfully from SMP

 


14.PNG

 

7. From  REST Client

 

     To Check, if request is reaching successfully, Make a GET request by entering this

      URL http://hostname:8080/odata/applications/latest/com.sap.authenticate

 

  • Where: com.sap.authenticate: application id
  • smp server host name – hostname

 

10.PNG 

 

 

Notice the response, you will see two entries of collection. Endpoints and Connections

 

 

14.PNG

 

8. Register the Application ID

 

 

 

KEY

VALUE

Content-Type

application/xml

X-SMP-APPCID

 

 

 

 

  • Added  this xml text in the RAW body section:

 

 

 

 

  • Here i have added DeviceType as Android. That means registration will be for Android device.
  • Status as 201 created and in the Response headers we get newly created X-SMP-APPCID

 

9. Device registration in the Admin cockpit:


12.PNG


13.PNG

10.For GET

When we fire the url   "http://smphost:8080/appId

 

We are getting 200 status

 

15.PNG

 

14.PNG

 

 

11. For POST(Creating a record)

 

   When we fire the url   "http://smphost:8080/appId/collection name" we get the below error


"403 Forbidden"

17.PNG

 

 

Kindly suggests,

 

Regards,

Sumit.




Viewing all articles
Browse latest Browse all 3548

Trending Articles