cancel
Showing results for 
Search instead for 
Did you mean: 

WSDL Response Mapping Issue ANY Field

Former Member
0 Kudos

Hi All,

I have a scenario SAP(Proxy) to WebServer(SOAP). The issue is the response message type of Webserver is:

<?xml version="1.0" encoding="ISO-8859-1"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/LMSWebSvc/LMS_Interface" targetNamespace="http://tempuri.org/LMSWebSvc/LMS_Interface">

<xsd:element name="GetStudentsExResponse">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="GetStudentsExResult" minOccurs="0" form="qualified">

<xsd:complexType mixed="true">

<xsd:sequence>

<xsd:any processContents="strict" />

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:schema>

i.e GetStudentsExResponse

|_GetStudentsExResult (ANY FIELD)

However the response sent by webserver is of the format:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

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

<GetStudentsExResult>

<Courses xmlns="">

<Warnings />

<Course CourseName="Requal RWT with Instructional Blocks TEST" CourseId="1325">

<Student LastName="LMSTest" FirstName="A" SSN="112345678" LoginID="lms123456a" CompanyName="LMS Test" CourseStatus="P" CourseStatusDate="03/14/2007 09:24:36" CourseScore="90">

<Lesson LessonCode="1915" LessonName="RWT Part 1" />

<Lesson LessonCode="1916" LessonName="RWT Part 2" />

<Lesson LessonCode="1917" LessonName="RWT Requal Exam" LessonStatus="p" LessonStatusDate="03/14/2007 09:24:36" LessonScore="90" ProctorID="1" ProctorName="Account Default">

<ExamInteractions QuesNum="17758" StudentResp="D" CorrectResp="D" Judged="c" />

<ExamInteractions QuesNum="17769" StudentResp="B" CorrectResp="C" Judged="w" />

<ExamInteractions QuesNum="8465" StudentResp="A" CorrectResp="A" Judged="c" />

</Lesson>

</Student>

</Course>

</Courses>

</GetStudentsExResult>

</GetStudentsExResponse>.

Now how do I map the response message to Response Message of the proxy?

I beleive I need XSLT Mapping for this...

Any other ideas??

Regards,

XIer

Edited by: XIer on Apr 25, 2008 6:23 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Self resolved..

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>Now how do I map the response message to Response Message of the proxy?

Did you mentioned the mEssage interface Outbound as Synchrnous one

Regards

Sangeetha