Skip to Content
avatar image
Former Member

can't connect to b1ws, actively refused

I'm just starting out with SAP B1WS, here is a simple console application:

Sub Main()
Dim login = New LoginService
Dim SessionId = login.Login("", "aa", LoginDatabaseType.dst_MSSQL2005, True, "MyUser", "MyPass", LoginLanguage.ln_English, True, "")
End Sub

Running this gives the following error:

"No connection could be made because the target machine actively refused it"

I made some generic research about wsdl/asmx and couldn't find anything relevant.

Firewalls are turned off by me and by the server, for purpose of this test.

I tried running a test here and all i get is a "Not Found" error. no additional info. here's the request I'm sending to

<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:ns1="LoginService"> <SOAP-ENV:Body> <ns1:Login> <ns1:DatabaseServer>a</ns1:DatabaseServer> <ns1:DatabaseName>a</ns1:DatabaseName> <ns1:DatabaseType>a</ns1:DatabaseType> <ns1:CompanyUsername>a</ns1:CompanyUsername> <ns1:CompanyPassword>a</ns1:CompanyPassword> <ns1:Language>a</ns1:Language>       <ns1:LicenseServer>a</ns1:LicenseServer> </ns1:Login> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

I'm sending dummy data, since I don't think it's even hitting the server. If it was hitting the server, I believe i would get a more specific error. such as invalid password etc. what might the problem be?

(i hope the tag is correct, as i am not familiar with SAP)


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

0 Answers