I'm currently engaged in integrating a SOAP web service with a third-party system. I've developed a Hook to convert JSON data retrieved from NetSuite into XML format, and it's functioning properly in the preview mode. However, I'm seeking guidance on a few aspects:
Should I utilize a premap or postmap function for this task?
Are there any adjustments required in the import configuration?
Do I need to specify anywhere in the setup that it involves SOAP, considering I'm utilizing an HTTP service for the integration?
@rijojohn you don't need to use scripting to handle XML. In Celigo, all data coming in gets parsed and converted to JSON, then on its way out you have options to convert the JSON into some other format. I assume you are using a generic HTTP connection for your third party system. In the HTTP import, you have a post body section and that post body allows XML or JSON. I would paste the XML you need into the post body and then replace values with handlebar expressions.
This Celigo Help Center article details the process for connecting to a SOAP/XML web service. It explains how to establish connections, configure HTTP headers, and authenticate requests. The sample flow described involves fetching calendar details from RiksBank using SOAP, converting them to JSON, and uploading to Amazon S3.