Skip to Content
0
Former Member
Sep 29, 2005 at 04:44 PM

Call an ABAP Web Service from .NET

29 Views

Hello,

we've created a very simple Web Service on an ABAP WAS 6.20.

It has no import parameters and only returns an integer. We want to call this Service from a .NET-Client.

We've created the .Net-Client from the WSDL-File. But it

cannot find our result (in the example: 10). The int value

in .Net is always null.

What should we do now?

The soap-response from WAS 6.20 looks like that:

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

http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Body>

<m:Z_RFC_WS_GETINT.Response xmlns:m="urn:sap-com:document:sap:rfc:functions">

<RESULT>10</RESULT>

</m:Z_RFC_WS_GETINT.Response>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Thanks for help,

Oliver