on 10-01-2008 2:55 PM
Hi DI Server Experts,
Can you send the sample simple coding for the DI Server and what are the steps needs to be taken care?
i have DI server license and when i run the coding of sample it showing 'Could commit the transaction login'.
Please helping out from this error and give good solutions ASAP.
Thanks in Advance,
G.Suresh
Hi...
see this path
:\Program Files\SAP\SAP Business One SDK\Samples\DI Server\VB.NET
Regards...
Billa 2007
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh,
With the DI server, you simply send an XML file to the DI server and then receive a response from it:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
oRead = System.IO.File.OpenText("C:\Program Files\SAP\SAP Business One ServerTools\DI_Server\Login2.xml")
string = oRead.ReadToEnd()
response = DI_Server.Interact(str)
End Sub
This is the login file:
<?xml version="1.0" encoding="utf-16"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<dis:Login xmlns:dis="http://www,sap.com/SBO/DIS">
<DatabaseServer>(local)</DatabaseServer>
<DatabaseName>SBODemo_UK</DatabaseName>
<DatabaseType>dst_MSSQL2005</DatabaseType>
<DatabaseUsername>xx</DatabaseUsername>
<DatabasePassword>xxxxx</DatabasePassword>
<CompanyUsername>manager</CompanyUsername>
<CompanyPassword>manager</CompanyPassword>
<Language>ln_English</Language>
<LicenseServer>localhost:30000</LicenseServer>
</dis:Login>
</env:Body>
</env:Envelope>
The code for sending the files to the DI server is the same for every operation, it is what is contained in the XML file that determines what the DI Server will do.
The SDK help file has examples of the different operations. Help Centre->DI Server->SOAP Message types->Data Manipulation Messages.
Regards,
Niall
SAP Business One Forums
Hi Niall O'Grady,
Thanks. its works!!!.
Do one favour for me. Please send any documentation about this topic.
i have one doubt on this also...that i explain.
SAP DB <=> DI Server (Web Service) <=> Client
Which application i can use for Client?? Windows or Web ???
Thanks and Advance
Regards,
G.Suresh
Consider using B1WS. Available on 2007A. You can download it from SDN under the usual "Business One SDK Tools" section. Sits on top of DI Server and just makes your life easier.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh,
Did u check these..?
C:\Program Files\SAP\SAP Business One SDK\Samples\DI Server
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.