on 11-09-2012 7:05 AM
Hi Experts,
While installing the B1WS i am getting the below error.
But i am using SAP Business One 8.82 PL:03
Can anyone help me out.?
Thanks
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
Hi pedro, where i have to set the LoginService.Url (http://<your_server>/B1WS/Service.asmx).?
Can u share little bit more.
Thanks
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
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.