4.2 rdsMethodResponse with Error Information

This is an example of an rdsMethodResponse for the case when an operation cannot be successfully completed on the server. In this particular case, the call was made to a query method with an incorrect connection string.

The binary data for this example is the following.

           0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F    
 00000030                                            43 6F               Co
 00000040  6E 74 65 6E 74 2D 54 79 70 65 3A 20 61 70 70 6C ntent-Type:.appl
 00000050  69 63 61 74 69 6F 6E 2F 78 2D 76 61 72 67 0D 0A ication/x-varg..
 00000060  43 6F 6E 74 65 6E 74 2D 4C 65 6E 67 74 68 3A 20 Content-Length:.
 00000070  36 0D 0A 0D 0A 0A 00 09 00 02 80 7A 0E 0A 80 20 6..........z....
 00000080  00 00 00 41 00 44 00 4F 00 44 00 42 00 2E 00 43 ...A.D.O.D.B...C
 00000090  00 6F 00 6E 00 6E 00 65 00 63 00 74 00 69 00 6F .o.n.n.e.c.t.i.o
 000000A0  00 6E 00 76 00 00 00 50 00 72 00 6F 00 76 00 69 .n.v...P.r.o.v.i
 000000B0  00 64 00 65 00 72 00 20 00 63 00 61 00 6E 00 6E .d.e.r...c.a.n.n
 000000C0  00 6F 00 74 00 20 00 62 00 65 00 20 00 66 00 6F .o.t...b.e...f.o
 000000D0  00 75 00 6E 00 64 00 2E 00 20 00 49 00 74 00 20 .u.n.d.....I.t..
 000000E0  00 6D 00 61 00 79 00 20 00 6E 00 6F 00 74 00 20 .m.a.y...n.o.t..
 000000F0  00 62 00 65 00 20 00 70 00 72 00 6F 00 70 00 65 .b.e...p.r.o.p.e
 00000100  00 72 00 6C 00 79 00 20 00 69 00 6E 00 73 00 74 .r.l.y...i.n.s.t
 00000110  00 61 00 6C 00 6C 00 65 00 64 00 2E 00 00 00 00 .a.l.l.e.d......
 00000120  00 01 01 02 03 04 05 06 06 06 D9 8F 21 B4 BA 37 ............!..7

The following table correlates the binary data to the elements of the rdsMethodResponse message.

 First byte

 Last byte

 ABNF symbol

0x3E

0x5D

rdsParamContentType

0x5E

0x5F

CRLF

0x60

0x72

rdsParamContentLength

0x73

0x74

CRLF

0x75

0x76

VT-ERROR

0x77

0x121

VARIANTERROR

0x77

0x7A

SCODE

0x7B

0x121

EXCEPINFO

0x7B

0x7E

SCODE

0x7F

0xA2

BSTRSOURCE

0xA3

0x11C

BSTRDESCRIPTION

0x11D

0x121

BSTRHELPFILE