Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

calling a sap webas 6.20 web service from .net

I was able to call the rfc bapi in the form of web service from a soap client

where the post data is something like this:

<b><?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Body>

<rfc:BAPI_BUPA_ADDRESS_GETDETAIL xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

<BUSINESSPARTNER>0000000232</BUSINESSPARTNER>

<ADDRESSGUID></ADDRESSGUID>

</rfc:BAPI_BUPA_ADDRESS_GETDETAIL>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope></b>

and the url was:

<b>http://<server-name>:8000/sap/bc/soap/rfc</b>and I am getting the response from the bapi.

I am not sure how will I call this web service from .net, I mean how will i pass the login information and the post data.

Former Member
replied

Also declare the ByRef parameter (all tables including BAPIRET2) with

Dim BAPIRET2() As new svc.BAPIRET2(0)

(sorry if the VB systaxt to create an empty array is wrong, as I'm not so good in VB).

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question