cancel
Showing results for 
Search instead for 
Did you mean: 

How to work with SapB1 Webservices

Former Member
0 Kudos

HI Everybody,

                    I have a requirement that develop an android application in sap b1 sdk using .net coding. In that application I should able to do all operations like connecting to sap b1 database and work with all(13) modules. I think this we can do by B1WS. But how to work on this I don't know. Can anybody give a sample project to connect with sap b1 and work on it?

                     According to our client requirement we need to connect with sap b1 database using .net coding and generate a service(url) which is able to consume that service in their android application.

                     How can I do this? Can anybody help me?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ramu,

First, with B1WS you won't be able to do all what's possible with DIS: you'll have only a very small subset of available objects and functions. It means that, if you want to mimic SBO in a web-app, you'll have to use both technologies (DIS and B1WS).

Ho, just an hint: connectionstring is the same for both technologies: so connected once, suing both.

That said, a good start for DIS is the 8.82 SDK documentation which is full now (it wasn't the same in previous version, but it's an other story).

I don't remind to have had too much trouble using B1WS, except for three things:

  • If you're dealing with multiple databases (which is my case), the generated wsdl have to be the same for all databases (same UDFs for all objects manipulated by B1WS), else you're in trouble.
  • If, like me, your DB server isn't the same as your licence and/or B1WS server, the WsdlServicesGenerator tool has to be modified (I did it, so if you're in need of it, just ask),
  • Finally, if during the development process you modify UDF, don't forget to restart IIS and DIS.

Regards,

Eric

pedro_magueija
Active Contributor
0 Kudos

Hi Ramu,

You can start here. There is a sample also.

Good luck.

Best regards,

Pedro Magueija