In our previous few blogs, you must have read about the Importance of web services in Sage 300 integration & deployment flow. (Refer below link)
New Stuff : Importance of web services in Sage 300 integration
In this blog, we will discuss how you can use POSTMAN to test our web API’s & detail process to test it.
Before going forward, we assume that you have already configured web API on IIS. Once API configured successfully, browse that API & you will get XML structure of that respective API. (Refer to screenshot)
Now you able to see a list of .asmx files, as per requirement user need to click on the same files and copy the same XML structure from the Open window.
Once you get above XML structure, you need to pass data into that same & can be used POSTMAN to test your data. Follow the process to for the same.
To download postman application click on below link:-
https://www.getpostman.com/apps
Send XML requests with the raw data type, then set the Content-Type to text/XML.
- After creating a request, use the drop-down to change the request type to POST.
- Copy the URL from the browser and Paste into URL Option (we have highlighted URL generation process in IMG 1.2 in Red Color)
- Open the Body tab and check the data type for raw.
- Open the Content-Type selection box that appears to the right and select either XML (application/xml) or XML (text/xml)
- Enter your raw XML data into the input field below (which is highlighted in red color)
- Click Send to submit your XML Request to the specified server.
Once you have done with this, click on the send button and entries will get created automatically in Sage 300 through Postman. If you get an error in data, then into the response section you will see error occurred.
The purpose of using POSTMAN is, even though you don’t have 3rd party application ready at your end, you can test APIs with the help of this.
About Us
Greytrix is a one-stop solution provider for Sage ERP and Sage CRM needs. We provide complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development and implementation expertise.
Greytrix has some unique solutions of Sage X3 integration with Sage CRM, Salesforce.com, and Magento eCommerce along with Sage X3 migration from Sage 50 US, Sage Pro, and QuickBooks. We also offer best-in-class Sage X3 customization and development services to Sage business partners, end users, and Sage PSG worldwide.
For more information on Sage X3 Integration and Services, please contact us at x3@greytrix.com. We will be glad to assist you.