cancel
Showing results for 
Search instead for 
Did you mean: 

B1WS Installation error

Former Member
0 Kudos

Hi Experts,

While installing the B1WS i am getting the below error.

you are about to install b1ws for version 8.8. please check you have sap business one DI Server inst...

But i am using SAP Business One 8.82 PL:03

Can anyone help me out.?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

pedro_magueija
Active Contributor
0 Kudos

Hi Team Bone,

It is just a warning that the B1WS installer gives you, to inform you are on a different version than the one B1WS was "built/tested" on.

It's ok to install it anyway.

Good luck.

Best regards,

Pedro Magueija

Former Member
0 Kudos

Hi pedro,

After B1WS installer i have given the following details on SAP Business One web services,

Server:192.168.1.78 or ABCD

Database type: dst_MSSQL2008

License Server :localhost

Company DB: SBODemoIN

UserName: sa

Password: B1Admin

Language: English

After giving the above details i am getting unhandled exception. It is not getting connected.

Please can u help me out on this.?

Thanks

pedro_magueija
Active Contributor
0 Kudos

Hi Team Bone,

Can you post more details on that exception? Also make sure you use the port for the license server, ex: localhost:30000. One more thing, set the LoginService.Url property to: http://<your_server>/B1WS/Service.asmx

Best regards,

Pedro Magueija

Former Member
0 Kudos

Hi pedro, where i have to set the LoginService.Url (http://<your_server>/B1WS/Service.asmx).?

Can u share little bit more.

Thanks

Former Member
0 Kudos

Hi,

http://<your_server>/B1WS is a virtual application created in IIS during the installation of B1WS.

IIS knows how to redirect calls to the non-existing Service.asmx file, so you don't have to worry about it.

I'm not using the LoginService, but other one.

For example (taken from my libraries), here is how to query for a BP:

private static BusinessPartnersService GetService(DIServerExt connection)

        {

            BusinessPartnersService returnValue = null;

            using (SLogger.VerboseCall())

            {

                if (false == string.IsNullOrEmpty(connection.SessionId))

                {

                    returnValue = new BusinessPartnersService

                    {

                        Url = "http://" + connection.Server + "/B1WS/Service.asmx",

                        MsgHeaderValue = new MsgHeader

                        {

                            SessionID = connection.SessionId,

                            ServiceName = MsgHeaderServiceName.BusinessPartnersService,

                            ServiceNameSpecified = true

                        }

                    };

                }

                else

                {

                    SLogger.Error("No DIS SessionId");

                }

            }

            return returnValue;

        }

...

                        using (var service = GetService(connection))

                        {

                            if (null != service)

                            {

                                var parms = new BusinessPartnerParams

                                                {

                                                    CardCode = cardCode

                                                };

                                try

                                {

                                    var businessObject = service.GetByParams(parms);

                                    if (null != businessObject)

                                    {

...

                                    }

                                }

                                catch (SoapException e)

                                {

                                    interfaceObject.LogSoapException(ErrorClass.DIServer, e);

                                }

                                catch (Exception e)

                                {

                                    interfaceObject.LogSoapException(ErrorClass.DIServer, e);

                                }

                            }

                            else

                            {

                                SLogger.Error("No service object");

                            }

...

Regards,

Eric