Sending data through ECC Queue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2015 02:49 PM
Hi All,
I am trying to create a two way SOAP integration.
I need to send the data through ECC queue. Earlier to fuji I used to write something like:
--------------------------------------------------------------------------------------------------------------
var s = new SOAPMessage('TemperatureConvert', 'TempConvertSoap.FahrenheitToCelsius');
s.setParameter('temperatureF', '100');
s.post(true);
----------------------------------------------------------------------------------------------------------------
So the message would get posted through ECC queue and we could track them.
But now that SOAP V2 has been introduced I am confused as to where should we write this "true" parameter so that the message gets posted through ecc queue:
****************************************************************************************
var s = new sn_ws.SOAPMessageV2('Amazon', 'ItemSearch');
s.setStringParameterNoEscape('access_key', 'AKIAJDMB2SKKI7I5K2QQ');
s.setStringParameterNoEscape('signature', 'XXX');
var response = s.execute();
******************************************************************************************
Can anyone please help me with my query.
Thanks in advance.
Kind Regards,
Aniket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2015 01:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2015 06:12 AM
I am also facing the same issue. But we are right now in Eureka version. If anyone know the solution for this please advise
Thanks in Advance,
Kind Regards,
Dinesh Chinnadurai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2015 06:58 AM
Hi Dinesh,
If you are in versions prior to Fuji, you can go with the "SOAPMessage" API.
If you are in Fuji version, and your script falls in scoped app, then you can go for "sn_ws.SOAPMessageV2" API.
Thanks,
Priya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2018 11:16 AM
var response = soapMessage.post(true); // the "true" parameter says "use the ECC Queue"