XAPI Session from Web Service in Sage 300 ERP

By | January 16, 2017

XAPI Session is used to connect the Sage 300 ERP from a third-party application. The session is used to achieve the customizations in the standard Sage 300 ERP product for all the desktop versions. The customization in Sage 300 ERP can also be achieved by creating web services.

New Stuff: Migrating Customer Ship to Address from Sage Pro to Sage 300

When the user uses web service to access Sage 300 ERP and service is created using C# language, the user may come across the issue to open the session.

Error: Error HRESULT E_FAIL has been returned from a call to a COM component.

Hresult Error

There are certain cases when every detail passes to open the session is passed correctly and still, user comes across the above error. Uses needs to make sure that the Sage 300 ERP is installed on the system where the web service is deployed with Maximum XAPI users greater than zero.

Since, XAPI Session uses the IAP users from the local system where the web service is deployed, if the Sage 300 ERP is installed on the system but the Sage 300 instance with IAP users in not available then user will face the same issue.

XAPI License

So, the user must verify that the Sage 300 ERP is installed with IAP Users on the system where web service is deployed.

About Us
Greytrix a globally recognized Premier Sage Gold Development Partner is a one stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.

Greytrix offers unique GUMU™ integrated solutions of Sage 300 with Sage CRM, Salesforce.com and Magento eCommerce along with Sage 300 Migration from Sage 50 US, Sage 50 CA, Sage PRO, QuickBooks, Sage Business Vision and Sage Business Works. We also offer best-in-class Sage 300 customization and development services and integration service for applications such as POS | WMS | Payroll | Shipping System | Business Intelligence | eCommerce for Sage 300 ERP and in Sage 300c development services we offer services such as upgrades of older codes and screens to new web screens, newer integrations using sdata and web services  to Sage business partners, end users and Sage PSG worldwide. Greytrix offers over 20+ Sage 300 productivity enhancing utilities that we can help you with such as GreyMatrixDocument AttachmentDocument NumberingAuto-Bank ReconciliationPurchase Approval SystemThree way PO matchingBill of Lading and VAT for Middle East.

For more details on Sage 300 and 300c Services, please contact us at accpac@greytrix.com. We will be glad to assist you.