on 08-31-2017 3:38 PM
Hi Experts,
I have configured the module in Receiver soap channel. while i’m executing it's throwing error like "GetPayloadValueBean: Value cannot be null:" not able to find the exact functionality of the module “GetPayloadValueBean and PutPayload value bean”.
My scenario is like (file-soap-file) using Sync and Async bridge its works fine. In same scenario i want to use "GetPayloadValueBean".
Soap Receiver Channel:
In parameters value i tried with test double quotes also "test"
Error log:
I have used the below blog and created a scenario in 7.5 single stack
Please help me if there is any configuration changes.
Thanks and Regards,
Md.Thouheed
Hi Mohmmad,
you can use get://Req_No instead of get:/ns0:mt_req/Currency_ip/Req_No, it should work.
I have problem with PutPayloadValueBean, did you complete the scenario?
br
Domenico
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just tried with Below XMl and it works fine for me , so i am suspecting either you are providing the wrong xml or the node is not there in the XML.
And also try to use a different module key for each module in your case , you are using "Payload" for all three module so try to use a unique module key for each one of them
When i delete the node in XML
Module Config:
XML which i tested:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:mt_req xmlns:ns0="http://file2soapsync">
<Currency_ip>
<Req_No>1</Req_No>
<FromCurrency>INR</FromCurrency>
<ToCurrency>EUR</ToCurrency>
</Currency_ip>
</ns0:mt_req>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please follow what Raghuraman and Manoj suggested.
Additionally, you need to mention requestresponsebean and responseonewaybean in sender CC not in receiver CC.
Thanks and Regards,
Apu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not Necessarily they can be placed in reciever too.
Hi Mohammad,
Check if you have any value in the XML for that particular field ?
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
My actually scenario is like jdbc-soap-jdbc using sync and Async bridge, i created two ICO's :
1. ICO: JDBC(Async) to soap(Sync) here soap receiver channel we using this all bean's.
2. ICO: Soap(Asyn) to JDBC(Asyn)
Because there is no primary key to update the record to database so we planning to use this as a link between request and response. Not necessary for sending this to soap(webservice) again once coming back to response and add req_no field and send to receiver jdbc.
Is it work to use “GetPayloadValueBean and PutPayload value bean”.
Thanks and Regards,
Md.Thouheed
Refer this blog
Check if the XML is having value and also try removing parameter value for remove parameter.
Please share the sample XML if possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
Thanks for replying, but still its throwing error like MP: exception caught with cause com.sap.aii.af.lib.mp.module.ModuleException: GetPayloadValueBean: Value cannot be null: /p1:mt_req/Currency_ip/Req_No
I'm not getting any idea in parameter value which value i can pass there,now i'm passing "test" is it correct?
Thanks and Regards,
Md.Thouheed
What i shared earlier sample XML Payload is exact only, now i'm taken Xpath in receiver determination.
After Mapping Sample XML Payload:
<?xml version="1.0" encoding="UTF-8"?> <ns1:ConversionRate xmlns:ns1="http://www.webserviceX.NET/"> <ns1:Req_NO>1</ns1:Req_NO> <ns1:FromCurrency>INR</ns1:FromCurrency> <ns1:ToCurrency>EUR</ns1:ToCurrency> </ns1:ConversionRate>
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.