Professional Documents
Culture Documents
Final Assessment
Final Assessment
Request1:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:oab="http://www.oab.com">
<soapenv:Header/>
<soapenv:Body>
<oab:VaryOnWorkstation>
<!-- hallo -->
<oab:Header>
<oab:header_channel sex="female">hai</oab:header_channel>
<oab:header_user>nag</oab:header_user>
<oab:header_workstation>pronteff</oab:header_workstation>
</oab:Header><!-- hallo -->
<oab:header_transactionDate
sex="female">07072022</oab:header_transactionDate>
<oab:header_transactionTime>13:02</oab:header_transactionTime>
<oab:header_transactionReference>hello</oab:header_transactionReference>
<oab:header_channelReserved>confirmed</oab:header_channelReserved>
<oab:data_workstation>chennai</oab:data_workstation>
</oab:VaryOnWorkstation>
</soapenv:Body>
</soapenv:Envelope>
Expected output:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:oab="http://www.oab.com">
<soapenv:Header/>
<soapenv:Body>
<oab:Reply>
<oab:Header>
<oab:header_channel sex="female">hai</oab:header_channel>
<oab:header_user>nag</oab:header_user>
<oab:header_workstation>pronteff</oab:header_workstation>
<oab:ReplyStatus>ERR</oab:ReplyStatus>
</oab:Header>
<oab:header_transactionDate
sex="female">07072022</oab:header_transactionDate>
<oab:header_transactionTime>13:02</oab:header_transactionTime>
<oab:header_transactionReference>hello</oab:header_transactionReference>
<oab:header_channelReserved>confirmed</oab:header_channelReserved>
<oab:data_workstation>chennai</oab:data_workstation>
<oab:Fault>
<faultCode>ESB0017</faultCode>
<faultString>Invalid message format</faultString>
<detail>
<faultNumber>2999</faultNumber>
</detail>
</oab:Fault>
</oab:Reply>
</soapenv:Body>
</soapenv:Envelope>
***************************************************************************
Request 2:
Backend URL:
http://www.dneonline.com/calculator.asmx
User Input:
<Add>
<intA>1</intA>
<intB>2</intB>
</Add>
User Output:
<AddResponse>
<AddResult>3</AddResult>
</AddResponse>
Backend Input:
===============
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:Add>
<tem:intA>1</tem:intA>
<tem:intB>2</tem:intB>
</tem:Add>
</soapenv:Body>
</soapenv:Envelope>
Backend Output:
=================
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<AddResponse xmlns="http://tempuri.org/">
<AddResult>3</AddResult>
</AddResponse>
</soap:Body>
</soap:Envelope>