I am sending a xml doc to TN. But the content-type is set to “application/x-www-form-urlencoded” and the xml is stored in a variable other than $xmldata.
I know that if i set the content-type as text/xml and store the xml in the variable as $xmldata, i would be able to extract the content easily. But due to constraint at my side, it is not possible to change those.
When i send the XML with above mentioned content-type set , i receive the data in my TN. Under the content, the data is in bytes. This selects the default rule and receives it in TN. I am interested to add a doc type and processing rule for this. As the data is received in bytes, i would appreciate what could be the way to write the selection criteria in doc type. When i choose the document in the transaction analysis screen, under the content, i see it as mentioned as “application/x-wmidatabin”. My actual XML lies in a variable say in “temp”.
I would appreciate an early reply.