Skip to Content
avatar image
Former Member

Web Service and complexe return type

Hi everyone,

Is there a way to create a web service that return a Response object that will include tables ?

The purpose is that the web service calls a RFC from SAP.

That RFC returns tables and structures.

Thanks.

Regards.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 17, 2008 at 08:25 AM

    Hi,

    A Webservice can return a complex object.In your AS operation take the return type as RFC's Output type.then it can return the RFC's output.

    let me know if it helps.

    Regards,

    Priya

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Priya,

      I tried to return the complexe type create by the SAP Connector tool.

      But when I created the web service, the NWDS said that the object has inner types....maybe some of the objects are not serializable.

      Thanks.