In SAP Business One, making HTTP request with SOAP body


You can use web services wrapper provided by SAP which allow programmer to use the services provided by DIS. To perform an easy integration, it is possible to use SoapUI in open source version. The connection is performed using login service and with reference of its wsdl, login request can be created and XML definition of message san be seen.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:log="LoginService">
   <soapenv:Header/>
   <soapenv:Body>
      <log:Login>
         <log:DatabaseServer>192.168.90.118</log:DatabaseServer>
         <log:DatabaseName>DB_TestConnection</log:DatabaseName>
         <log:DatabaseType>dst_MSSQL2008</log:DatabaseType>
         <log:CompanyUsername>manager</log:CompanyUsername>
         <log:CompanyPassword>Kuldip</log:CompanyPassword>
         <log:Language>ln_English</log:Language>
         <log:LicenseServer>192.168.90.118:30000</log:LicenseServer>
      </log:Login>
   </soapenv:Body>
</soapenv:Envelope>

To connect SAP Business One to a program, there are various options that you can try. For more details you can refer this link −

https://blogs.sap.com/2014/07/28/connecting-an-add-on-to-sap-business-one/

Updated on: 06-Mar-2020

260 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements