cancel
Showing results for 
Search instead for 
Did you mean: 

.Net Connector and XML

Former Member
0 Kudos

Hello, when generating the proxy classes I realized that every param includes an XML match data. Is there any way to invoke the proxy with an XML instead of using an array of object?

Accepted Solutions (0)

Answers (1)

Answers (1)

reiner_hille-doering
Active Contributor
0 Kudos

You don't use array of objects (never call SAPInvoke directly). Just use the proxies as they are generated.

The XML attributes are needed if you want to use a Soap call instead of a RFC call.

Former Member
0 Kudos

Thanks, any sample about how to call the BAPI using SOAP?

Which infrastructure is needed in the server to use SOAP?

reiner_hille-doering
Active Contributor
0 Kudos

The Soap Processor is available in all Web Application Servers from 6.20 on (e.g. R/3 4.7 or NetWeaver). It's documented in service.sap.com/connectors -> Soap Processor.

There is one (almost fix) URL that returns the WSDL for any function. The WSDL contains all needed information (including URL) to call the method.

In .NET you could e.g. feed in this file to to System.Web.Services.Description.ServiceDescriptionImporter , create a temporary proxy and call this by reflection.

Former Member
0 Kudos

Ok, but in SOAP Processor, do I need one webservice for each BAPI? Is there a generic Web Service for all the BAPIS?

reiner_hille-doering
Active Contributor
0 Kudos

Yes, the Soap processor (6.20) is exactly this generic WebService.