Okay, let’s take an example… assume your xml looks like the following:
<?xml version="1.0"?>
110022333
66999665
110022333-c0a87a66f70d6a8b0015d850-Product Provider
110022333_d6a8b0015d850R_Request.rno
WmUsers-Member
<RNET_TransactionId>TXN-ID-EXAMPLE</RNET_TransactionId>
Request
REGISTRATION-NUM
DEBIT-NO
000000009385.21
0001
INVOICE-NUM-102562
2006-11-17 08:09:18
0000095
ROSETTANET
Quote-Num-102562
40-TrackNum
CUSTOMER
USD
D
Now, in the TN Document type for above XML, the identification can be based on the Root Tag - ie,
Root Tag = DesignClaimRequest
The SenderID Query (under Extract tab) should be set to
DesignClaimRequest/SenderID and
The ReceiverID Query (under Extract tab) should be set to
DesignClaimRequest/ReceiverID
Besides, let’s say you want to extract RNET_TransactionId, the query for that would be:
DesignClaimRequest/DesignClaim/RNET_TransactionId
So you see, you have to set an identification criteria that uniquely identifies your document and then, you set up extraction query, which is the path of the attribute in your XML, to get the attribute(s) that you want to extract.
HTH, Rohit
#webMethods#Integration-Server-and-ESB#B2B-Integration