cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Web service with Integration Gateway

rakshit_doshi
Active Contributor
0 Kudos

Hi Guys,

Since SMP 3.0 uses OData i am following the below link to create Odata services from SOAP WebServices

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

But the pre requisite seems to be that the response should have a key field.

My scenario is that i have a soap service which takes in the Username as input and give the user details as output

This is my input body

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

  <EmployeeInfo xmlns="http://tempuri.org/">

  <pUserName>string</pUserName>

  </EmployeeInfo>

  </soap:Body>

</soap:Envelope>

And the Response body is

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

  <EmpInfoResponse xmlns="http://tempuri.org/">

  <EmpInfoResult>

  <EmployeeInfo>

  <EMPLOYEE_NUMBER>int</EMPLOYEE_NUMBER>

  <NATIONAL_IDENTIFIER>string</NATIONAL_IDENTIFIER>

  <FULL_NAME_EN>string</FULL_NAME_EN>

  <FULL_NAME_AR>string</FULL_NAME_AR>

  <MARITAL_STATUS_EN>string</MARITAL_STATUS_EN>

  <MARITAL_STATUS_AR>string</MARITAL_STATUS_AR>

  <HIRE_DATE>dateTime</HIRE_DATE>

  <HIRE_DATE_STR>string</HIRE_DATE_STR>

  <NATIONALITY_EN>string</NATIONALITY_EN>

  <NATIONALITY_AR>string</NATIONALITY_AR>

  <GENDER_EN>string</GENDER_EN>

  <GENDER_AR>string</GENDER_AR>

  <DATE_OF_BIRTH>dateTime</DATE_OF_BIRTH>

  <DATE_OF_BIRTH_STR>string</DATE_OF_BIRTH_STR>

  <ORGANIZATION>string</ORGANIZATION>

  <GRADE>string</GRADE>

  <JOB_EN>string</JOB_EN>

  <JOB_AR>string</JOB_AR>

  <POSITION_EN>string</POSITION_EN>

  <POSITION_AR>string</POSITION_AR>

  <SUPERVISOR>string</SUPERVISOR>

  <MOBILE_PHONE>string</MOBILE_PHONE>

  <EMAIL_ADDRESS>string</EMAIL_ADDRESS>

  <LEVEL>string</LEVEL>

  </EmployeeInfo>

  <EmployeeInfo>

  <EMPLOYEE_NUMBER>int</EMPLOYEE_NUMBER>

  <NATIONAL_IDENTIFIER>string</NATIONAL_IDENTIFIER>

  <FULL_NAME_EN>string</FULL_NAME_EN>

  <FULL_NAME_AR>string</FULL_NAME_AR>

  <MARITAL_STATUS_EN>string</MARITAL_STATUS_EN>

  <MARITAL_STATUS_AR>string</MARITAL_STATUS_AR>

  <HIRE_DATE>dateTime</HIRE_DATE>

  <HIRE_DATE_STR>string</HIRE_DATE_STR>

  <NATIONALITY_EN>string</NATIONALITY_EN>

  <NATIONALITY_AR>string</NATIONALITY_AR>

  <GENDER_EN>string</GENDER_EN>

  <GENDER_AR>string</GENDER_AR>

  <DATE_OF_BIRTH>dateTime</DATE_OF_BIRTH>

  <DATE_OF_BIRTH_STR>string</DATE_OF_BIRTH_STR>

  <ORGANIZATION>string</ORGANIZATION>

  <GRADE>string</GRADE>

  <JOB_EN>string</JOB_EN>

  <JOB_AR>string</JOB_AR>

  <POSITION_EN>string</POSITION_EN>

  <POSITION_AR>string</POSITION_AR>

  <SUPERVISOR>string</SUPERVISOR>

  <MOBILE_PHONE>string</MOBILE_PHONE>

  <EMAIL_ADDRESS>string</EMAIL_ADDRESS>

  <LEVEL>string</LEVEL>

  </EmployeeInfo>

  </EmpInfoResult>

  </EmpInfoResponse>

  </soap:Body>

</soap:Envelope>

Any help would be very appreciated

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

After downloading the below wsdl file

http://www.predic8.com:8080/material/ArticleService?wsdl


and upload in a DEFINE RESPONSE MAPING .


he give me below error


Kindly Help



Regard


Ali

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please raise a new thread since this query is already been answered.

Rgrds,

JK

former_member187491
Active Participant
0 Kudos

Hi Rakshit,

I believe this should have worked.

Is there anyway for me to access your SOAP service? Feel free to send me an email.

Thanks and regards,

Mustafa.

rakshit_doshi
Active Contributor
0 Kudos

Hi Mustafa,

Thanks for your reply.

This did not work.

Can you share your email id so that i can let you know the details

Thanks

Best Regards

Rakshit Doshi

former_member187491
Active Participant
0 Kudos

You should see my email, if you move your mouse over my name right above this post.

Regards,

Mustafa.

rakshit_doshi
Active Contributor
0 Kudos

Hi..it comes as private when i move my mouse over your name..:(

former_member187491
Active Participant
0 Kudos

Sorry! It is MyFirstName.LastNameAtSapDotCom.