Skip to Content
author's profile photo Former Member
Former Member

Consuming Sharepoint webservice from Abap

Hi, I have a need to access a Sharepoint database from SAP. I am using the search.aspx webservice that sharepoint offers, or at least trying to. I set up an abap proxy from the WSDL that sharepoint supplied (which was not the best WSDL). From my ABAP I need to call the sharepoint service and I am having a little difficulty getting a result back.

Here is the ABAP code I have so far:

DATA: gr_query TYPE REF TO zgms_cycletimeco_query_service,

gs_input TYPE zgms_cycletimequery_soap_in,

gs_output TYPE zgms_cycletimequery_soap_out.

DATA: oref TYPE REF TO cx_root,

text TYPE string,

oref2 TYPE REF TO cx_root,

text2 TYPE string.

CREATE OBJECT gr_query.

CONCATENATE 'get_text( ).

ENDTRY.

I am trying to retrieve the record that contains HE2009-0624-084648 with no luck.

The error message I get says no results found.

Does anyone know what I am doing wrong? Do I need to specify the field in sharepoint that contains this data?

Thanks in advance,

René

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2009 at 01:04 PM

    Hi,

    First try to test proxy directly from SE80. to me it seems problem with query xml, perhaps you need to convert it to http (replace "<" tags with http equivalent)

    But test with SE80 and let us know result.,

    Regards,

    Gourav

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.