In SAP Business One, making HTTP request with SOAP body

SAPSAP BWXML BPC

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/

raja
Published on 23-Apr-2018 09:44:23
Advertisements