Skip to Content
author's profile photo
Former Member

Call an ABAP Web Service from .NET


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"?>">


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





Thanks for help,


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 30, 2005 at 07:59 AM

    I have seen this problem before. It has to do with inconsistencies regarding XmlSchemaForm which is always "unqualified" on what goes over the wire. You see Z_RFC_WS_GETINT.Response element is in XML namespace "urn:sap-com:document:sap:rfc:functions" while "RESULT" is in empty namespace.

    AFAIK the problem was fixed with some kernel patch, you may want to search for it. Alterativly you can change either the wsdl or the generated code that you XmlSchemaForm.Unqualified.

    Add comment
    10|10000 characters needed characters exceeded