cancel
Showing results for 
Search instead for 
Did you mean: 

Connection with DI SERVER SAP Business One

0 Kudos
1,713

Hello everyone! I'm facing an issue with SAP B1 DI Server. I'm developing a webservice using wsdl references from DI Server. I referenced the wsdl files in my project and everything seems to work fine. But, when I try to connect to B1 I systematically get an error saying that I can't connect to Business One.

I've checked:

1.- Di Server License: I didn't have it, but asked for it and installed it.

2.- SBO DI Server: Up & Running

3.- TAO NT Service: Up & Running

What is most strange is that yesterday I tested the same code from my WS and it worked beautifully. Today when I try to perform another test it crashed. Any thoughts? Many Thanks! K.R

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello All!!

When I reference the wsdl files on my project, by default, it uses the name "localhost" to refer to the location of this ws.

What I did was that, once I referenced the ws on my code,I changed the URL using the real IP address:

Dim oCompanyService As CompanyService (This refers to CompanyServer.wsdl)

oCompanyService = New CompanyService()

oCompanyService.Url = "http://192.168.2.4:4532/B1WS/Service.asmx" --->Originally here, by default, the system use localhost

Doing this, there are no more connection problems and the service works smoothly

Many Thanks!

K.R

Answers (2)

Answers (2)

Former Member
0 Kudos

Can you post your code? But first, I want to know if you have DI Server license?

Former Member
0 Kudos

Try to restart SLD and License manage and see if it'll work