2 ryan wangzi Ryan_wangzi 于 2016.03.21 17:27 提问

解析报文时怎样让请求报文与相应报文头相同!

<?xml version='1.0' encoding='UTF-8'?>

    <Service_Header>
        <reply_qmgr>SIT2_IN</reply_qmgr>
        <processes nextprocess='1' total='1' currentprocess='1'>
            <process id='1'>
                <end_timestamp></end_timestamp>
                <process_timestamp>2011-09-11 07:35:07.443</process_timestamp>
                <resp_target_q>IBM.SERVICE.RESPONSE.OUT.CI</resp_target_q>
                <req_target_q>IBM.SERVICE.REQUEST.OUT.CI</req_target_q>
                <sub_target_id/>
                <target_id>0006</target_id>
                <sub_service_sn>11321103039153507</sub_service_sn>
                <sub_reversal_service_id></sub_reversal_service_id>
                <async_reversal_service_id></async_reversal_service_id>
                <is_end>0</is_end>
                <skip_to_process>0</skip_to_process>
                <after_logic_class></after_logic_class>
                <timeout>20000</timeout>
                <reversal_seq>0</reversal_seq>
                <key_service>0</key_service>
                <status>INPROCESS</status>
                <service_id>00060000881002</service_id>
            </process>
        </processes>
        <service_response></service_response>
        <msglog>1</msglog>
        <timeout>20000</timeout>
        <name>VOST前端发起的提出登记-881002</name>
        <resp_target_q>IBM.SERVICE.RESPONSE.OUT.TELLER</resp_target_q>
        <req_target_q>IBM.SERVICE.REQUEST.OUT.TELLER</req_target_q>
        <msg_expiry>360000</msg_expiry>
        <start_time>1315726507436</start_time>
        <start_timestamp>2011-09-11 15:35:07.435</start_timestamp>
        <service_sn>11321103039153507</service_sn>
        <service_id>00060000881002</service_id>
        <requester_id>0018</requester_id>
        <branch_id sys_id='0001'>321103030</branch_id>
        <channel_id>01</channel_id>
        <service_time>20120320153507</service_time>
        <version_id>01</version_id>
        <macvalue/>
        <need_request>true</need_request>
        <trace_msg>SERVICE.SINGLE.ROUTE - Sent single request to provider</trace_msg>
    </Service_Header>


    <Service_Body>
            <ext_attributes>
                    <INM-BUS-OP-CODE>3360</INM-BUS-OP-CODE>
                    <FILLER1>1</FILLER1>
                    <CorporationId>112</CorporationId>
                    <INM-BRANCH-ID>321103030</INM-BRANCH-ID>
                    <INM-TERM-TYP>A</INM-TERM-TYP>
                    <INM-TERM-SRL>026</INM-TERM-SRL>
                    <INM-TELLER-ID>321103030026</INM-TELLER-ID>
                    <INM-SPV-A/>
                    <INM-SPV-B/>
                    <INM-SPV-PWD/>
                    <INM-VERIFY-TELLER/>
                    <INM-BUS-CODE/>
                    <INM-APP-TX-CODE/>
                    <INM-SUB-TX-CODE/>
                    <T_KEY_LABEL>T1030300</T_KEY_LABEL>
                    <INM-ENC-DEV-ID>gt.321103030.zpk</INM-ENC-DEV-ID>
            </ext_attributes>
            <request>
                    <bustype>30104</bustype>
                    <consigndate>20120320</consigndate>
                    <putexchngno>321103030</putexchngno>
                    <brchno>321103030</brchno>
                    <caccount>3211030301010000000068</caccount>
                    <caccname>丹阳东方制衣有限公司</caccname>
                    <rcvexchngno>317314100308</rcvexchngno>
                    <daccount>123</daccount>
                    <daccname>123</daccname>
                    <amount>108.00</amount>
                    <currencytype>RMB</currencytype>
                    <vchtype>01</vchtype>
                    <vchcode>000000000001</vchcode>
                    <signdate>20120320</signdate>
                    <limitdate>1</limitdate>
                    <promppaydate>20120320</promppaydate>
                    <paypwd/>
                    <purpose/>
                    <memo>imya</memo>
                    <bstimes>0</bstimes>
                    <bslist/>
            </request>
            <MAC>DD7F82A38A966897</MAC>
    </Service_Body>

</Service>
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!