on 06-22-2014 11:16 AM
Hi Guys,
Since SMP 3.0 uses OData i am following the below link to create Odata services from SOAP WebServices
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.