10-08-2011, 04:48 PM
Dean,
I'm having trouble getting the environment variables to work at login. Maybe my syntax is wrong, but before we get to that problem, it seems like CQC is doing something weird. When I send this message:
<CQCGW:GetSecurityToken CQCGW:ResponseData="678272dc1af6493e64f038904179982e"><CQCGW:EnvVar CQCGW:VarNum="0"></CQCGW:EnvVar><CQCGW:EnvVar CQCGW:VarNum="1"></CQCGW:EnvVar><CQCGW:EnvVar CQCGW:VarNum="2"></CQCGW:EnvVar><CQCGW:EnvVar CQCGW:VarNum="3">b</CQCGW:EnvVar></CQCGW:GetSecurityToken>
it seems like I'm getting two messages back. First a valid AckReply:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE CQCGW:Msg PUBLIC 'urn:charmedquark.com:CQC-GWProtocol.DTD' 'CQCGWProtocol.DTD'>
<CQCGW:Msg>
<CQCGW:AckReply CQCGW:Info='EUserRole_PowerUser'/>
</CQCGW:Msg>
and then what appears to be the second part of an exception reply:
GW:File="CIDXML_SimpleTree.cpp" CQCGW:Line="957" CQCGW
rocess="CQCGWSrv" CQCGW:Thread="CQCGWSrvWorkerThread0">
Got a child index of 0 but only 0 exist in this CQCGW:EnvVar element
</CQCGW:ExceptionReply>
</CQCGW:Msg>
Both returned messages have the same sequence number as the GetSecurityToken message I sent, and have valid headers (magic values and so on), but the second one has a bad checksum, and of course is missing the first part of the message. It's possible that I'm doing something stupid and losing the first part of the message myself. However, because I see that error text that I couldn't be making up myself, I think you are in fact sending me some sort of exception (maybe a valid exception message that I'm messing up).
Can you tell me what is going on, both in terms of what your returning to the message I did send, and in terms of what I should be sending instead? Let me know if I'm not being clear. Thanks.
I'm having trouble getting the environment variables to work at login. Maybe my syntax is wrong, but before we get to that problem, it seems like CQC is doing something weird. When I send this message:
<CQCGW:GetSecurityToken CQCGW:ResponseData="678272dc1af6493e64f038904179982e"><CQCGW:EnvVar CQCGW:VarNum="0"></CQCGW:EnvVar><CQCGW:EnvVar CQCGW:VarNum="1"></CQCGW:EnvVar><CQCGW:EnvVar CQCGW:VarNum="2"></CQCGW:EnvVar><CQCGW:EnvVar CQCGW:VarNum="3">b</CQCGW:EnvVar></CQCGW:GetSecurityToken>
it seems like I'm getting two messages back. First a valid AckReply:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE CQCGW:Msg PUBLIC 'urn:charmedquark.com:CQC-GWProtocol.DTD' 'CQCGWProtocol.DTD'>
<CQCGW:Msg>
<CQCGW:AckReply CQCGW:Info='EUserRole_PowerUser'/>
</CQCGW:Msg>
and then what appears to be the second part of an exception reply:
GW:File="CIDXML_SimpleTree.cpp" CQCGW:Line="957" CQCGW

Got a child index of 0 but only 0 exist in this CQCGW:EnvVar element
</CQCGW:ExceptionReply>
</CQCGW:Msg>
Both returned messages have the same sequence number as the GetSecurityToken message I sent, and have valid headers (magic values and so on), but the second one has a bad checksum, and of course is missing the first part of the message. It's possible that I'm doing something stupid and losing the first part of the message myself. However, because I see that error text that I couldn't be making up myself, I think you are in fact sending me some sort of exception (maybe a valid exception message that I'm messing up).
Can you tell me what is going on, both in terms of what your returning to the message I did send, and in terms of what I should be sending instead? Let me know if I'm not being clear. Thanks.