on 02-26-2008 10:35 AM
Hi Experts,
I have a sync scenario
-Req--> -
>
SOAP XI RFC
<Res-- <-----
The Req message contains:
<Order>
<Orderid>100</Orderid>
<Desc>Extrenal Order</Desc>
<Qty>2500</Qty>
</Order>
Response message is:
<Log>
<LogTxt>Qty value cannot be more than 3 chars</LogTxt>
</Log>
In the XI I have to validate the input request message using a schema. For this I am writing a java mapping program using aii_map_api.jar.
My requirement is that If the input message schema validation fails then I want to send a response message back to sender.
How can I send a response message back to the sender in java mapping program?
Kindly help with sample code example.
Thanks
Gopal
This is not possible.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First, I think PI 7.1 has this functionality and perhaps it comes in a SP for PI 7.0 and XI 3.0. So first have a look at that before creating custom development.
Second, if you use the java mapping, you will only have access to a request or response message. I would advise using a custom java module in the module processor and insert this message in the sender communication channel. This will allow you to validate request and send a response.
Regards,
Yaghya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.