Showing results for 
Search instead for 
Did you mean: 

BAPI_SALESORDER_GETLIST Netweaver webservice consumption in C#

Former Member
0 Kudos


I am sorry if this is too primitive question for this advanced forum.

I wish to use BAPI_SALESORDER_GETLIST netweaver webservice.

I do NOT want to create a proxy, but want to add web reference in Visual Studio 2003 in C# project.

Can some one provide sample code for using this netweaver webservice in my C# code with above conditions, including .Credential and explain a little bit about every thing ?

Thanks a lot.

Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

ALl necessary information can be found in the media library of the Soap Processor at .

BTW: You will use a proxy if you add a Web Reference. It is not a .NET Connector proxy, but still a (WS) proxy.

Former Member
0 Kudos

I can provide you with such a sample, but for VB.Net (and other BAPI / function module). Should be easy to convert to C#. This example covers how the credentials should be used.

Dim d As New WindowsApplication1.WebReference.ZCustomerTestWebservice

Dim service As New WindowsApplication1.WebReference.service

Dim doutput As WindowsApplication1.WebReference.ZCustomerTestWebserviceResponse

service.Credentials = New System.Net.NetworkCredential("user", "password")

service.PreAuthenticate = True

d.IKunnr = ""

d.IVkorg = "1000"

doutput = service.ZCustomerTestWebservice(d)

Edited by: Piotr Sliwinski on Mar 6, 2009 4:58 PM

Answers (0)