on 07-14-2006 12:07 PM
Hi,
We have a scenario where we need to use the data from Payload for further processcing of the messeges.The payload looks like the one given below.
<?xml version="1.0" encoding="utf-8" ?>
- <ns1:MT_NOTIFICATION xmlns:ns1="http://WM_ERRHAND" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <PROXYRESPONSE>
<STATUS>YES</STATUS>
<NAMESPACE>WM_INVOICE</NAMESPACE>
<INTERFACENAME>MI_INVOICE_MOORE_ACK_IN</INTERFACENAME>
<PROXYNAME>ZXIII_MI_INVOICE_MOORE_ACK_IN</PROXYNAME>
</PROXYRESPONSE>
</ns1:MT_NOTIFICATION>
In adapter, for variable substitution we have specified as below:
payload:MT_NOTIFICATION,1,PROXYRESPONSE,1,NAMESPACE,1
but getting an error "Message processing failed: Error during variable substitution: java.text.ParseException: Variable 'namespace' not found in variable substitution table"
Is the variable that we have declared is right or is there anything we have missed out. Any helpful answers will be rewarded
Thanks and regards,
Ram.
Hi Ram,
The substitution looks fine.
Did you read this,
<i>To disable the check the adapter performs for the element data, set the Disable Security Checks indicator.
Otherwise, the adapter checks whether the element data contains characters that could lead to security risks in the file system environment. The check includes the characters /, \, and ...</i>
Try seleting this option and checking the same.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You must have given a variable name and then the path in the next column.
Filename MT_NOTIFICATION,1,PROXYRESPONSE,1,NAMESPACE,1
Are you using the same name in the file name as
%filename%
Regards
Vijaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.