|
对于sessionID所用到的地方。。。在这里再多附上一段代码 希望可以有助于我所表达的意思:
。。。。。。
lr_xml_get_values("XML={xml}",
"FastQuery=/AMFPacket/AMFHeaders/AMFHeader/string",
"ValueParam=sID",
LAST);
strcpy(str, lr_eval_string("{sID}"));
sessionID = str;
sessionID+=12;
flex_amf_call(
"AMF3_call_1",
"Gateway=http://192.168.6.125:8080/sbs/messagebroker/amf;jsessionid={sessionID}",
"Snapshot=t42.inf",
MESSAGE,
"Method=null",
"TargetObjectId=/1",
BEGIN_ARGUMENTS,
"<AMF3><object-externalizable-custom><flex.messaging.messages.RemotingMessage>\n "
" <destination>versionController</destination>\n <messageId>"
"DC9C0DBE-9D1C-869C-CE6E-EADC775BB071</messageId>\n <timestamp>0</timestamp>\n "
"<timeToLive>0</timeToLive>\n <headers>\n <entry>\n <string>"
"DSEndpoint</string>\n <string>my-amf</string>\n </entry>\n <entry>\n "
" <string>DSId</string>\n <string>"
"{dsID}</string>\n </entry>\n </headers>\n "
"<operation>getVersion</operation>\n <parameters/>"
"\n</flex.messaging.messages.RemotingMessage></object-externalizable-custom>"
"</AMF3>",
END_ARGUMENTS,
LAST);
。。。。。。 |
|