6.0.57.993
I have an inherited object that gets sent back in a response:
TWCRBase
|
TWCROverview (which contains a TWebBaseOverview object, for clarity)
The response the server is sending is a TWCROverview, and this is unpacked fine in a Bin message, but if I use a SOAP message, the object returned .ClassName = ‘TWCRBase’, not TWCROverview. The SOAP response is below.
I am pretty sure the SOAP unpacked the structure before.
Shouldn’t it unpack it correctly?
Ed Dressel
<?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:HNS=“http://tempuri.org/” xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:v1=“http://tempuri.org/”>
SOAP-ENV:Header
{E8463C99-AD21-4E8F-BF99-F17C45FC41A6}
</SOAP-ENV:Header>
<SOAP-ENV:Body xmlns:ro=“http://tempuri.org/”>
v1:RetireCalcsSvc___GetCalcsResponse
v1:Resulttrue</v1:Result>
v1:aResponse
v1:TWCROverview
v1:WebCalcTypewctOverview</v1:WebCalcType>
v1:Messages/
v1:Values
v1:TWebBaseOverview
…
</v1:TWebBaseOverview>
</v1:Values>
</v1:TWCROverview>
</v1:aResponse>
v1:aWarningMsg
</v1:aWarningMsg>
v1:aErrorMsg
</v1:aErrorMsg>
</v1:RetireCalcsSvc___GetCalcsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>