AnsweredAssumed Answered

POST Request with a body not in JSON or XML format

Question asked by Sree.unnikrishnan on Jun 27, 2017
Latest reply on Jun 28, 2017 by Sree.unnikrishnan

Hello,

 

I'm trying to create a VS image from rrpairs in DevTest version 10.1, the request is a POST request  with a body that has arguments in the below format.

 

<?xml version="1.0" ?>
<request operation="POST /CCR-Relational/customer_agreementssor.pkg_tnc_response.getdocumentcontents_dme2" matchTolerance="EXACT">
<attributes>
<parameter name="HTTP-Segment-Attr-0">CCR-Relational</parameter>
<parameter name="HTTP-Segment-Attr-1">customer_agreementssor.pkg_tnc_response.getdocumentcontents_dme2</parameter>
</attributes>
<metaData>
<parameter name="HTTP-Method">POST</parameter>
<parameter name="HTTP-URI">/CCR-Relational/customer_agreementssor.pkg_tnc_response.getdocumentcontents_dme2</parameter>
<parameter name="HTTP-Version">1.1</parameter>
<parameter name="Authorization">Basic Q1NJVVNFUjEzOnc0eEpaQ2FP</parameter>
<parameter name="JMSMessageID">ID:8d63d458-c2e4-4fd7-a1af-7a7e723d43ec</parameter>
<parameter name="Accept-Encoding">gZip</parameter>
<parameter name="X-EVENTSAMPLER-JMXSENDER">com.att.csi.m2e.DLAAdapterBundle@hlti262.hydc.sbc.com:42029</parameter>
<parameter name="X-JMSReplyTo">/79427db1-1762-437f-b910-5cdfd52f0012</parameter>
<parameter name="AFT_DME2_EP_READ_TIMEOUT_MS">240000</parameter>
<parameter name="AFT_DME2_CLIENT_REQ_SEND_TIMESTAMP">2017-06-27T13:32:31.419 PDT</parameter>
<parameter name="Host">dft3.web.att.com:9040</parameter>
<parameter name="Content-Length">484</parameter>
<parameter name="lisa.vse.request.client.id">130.4.129.241:44370</parameter>
</metaData>
<body charset="UTF-8">i_requestername=csitest&i_requestercomponentname=CCRR&i_requestermethodname=getDocumentContentsDME2&i_requesterclienthostname=hlti262.hydc.sbc.com:q100csi1m4&i_requesterapplicationname=CSI

 

 

Tried creating an image using the following in the request file

 

POST /CCR-Relational/customer_agreementssor.pkg_tnc_response.getdocumentcontents_dme2

 

i_requestername=csitest&i_requestercomponentname=CCRR&i_requestermethodname=getDocumentContentsDME2&i_requesterclienthostname=hlti262.hydc.sbc.com:q100csi1m4&i_requesterapplicationname=CSI Adapter&i_conversation_id=csitest~CNG-CSI~8394ba84-da62-45fc-bb8f-70e6f6971daa&i_unique_transaction_id=ServiceGateway935173@q100csg142c3_c8fca7ce-ca5a-4bcf-99c0-fc989b4acada&i_product_cd=USPREPAIDENG&i_cstmr_dcmnt_vrsn_nbr=2.5&i_cstmr_dcmnt_typ_cd=TNC&i_lngg_cd=EN&i_dcmnt_scp_cd=FUL&i_psv_nbr=1

 

but DevTest did not pick up the arguments.

 

Could you plz let me know how can I create a VS image for such a request?

 

Thank you!

Outcomes