Skip to Content
avatar image
Former Member

Calling an ABAP web service from a web dynpro

Hello,

I based my application on the: "Creating an E-Mail Client Using Web Dynpro's Adaptive Web Service Model" tutorial but when invoking the web service I get this type of error:

Exception on execution of web service with WSDL URL 'http://mySAPBackendServer:1080/sap/bc/soap/wsdl11?services=Z_MY_WEB_SERVICE&sap-client=XXX&sap-user=XXXX&sap-password=XXXX' with operation 'Z_MY_WEB_SERVICE' in interface '{urn:sap-com:document:sap:rfc:functions}Z_MY_WEB_SERVICEPortType'

Is this because I used Adaptive Web Service Model instead of Adaptive RFC Model? Or is it due to something else?

thanks a lot,

Tanguy Mezzano

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 15, 2008 at 09:41 AM

    if the RFC is not exposed as an Webservice ,you don't use adaptive webservice model to create model.

    if it is a RFC you can use adaptive RFC method to create model.

    with regards

    shanto aloor

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 15, 2008 at 02:09 PM

    Dear Tanguy.

    At first you should check is the autorization necessary for your web-service.

    Go to Sap Web Application service

    link Web Service Navigatorl.

    Put the wsdl url link in the appropriate field and push "Next" button.

    If login and password is required, you should use web service in NWDS

    with logical destination data, to store username and password for the authontification.

    I will describe how it can be used if it needed.

    Best regards, Sergey.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Ok, I have succeeded to call it using logical destinations.

      It's now working in basic password authentication.

      I would like to authenticate it at message level using SAML.

      I have read documentation about message-vouchers for abap web service.

      I have two SAP systems, one ABAP stack 6.40 and a Netweaver 7.0 SP12 version, none of them have the report wss_info required to configure saml.

      Is there another way to access web services with SAML authentication or upgrading to SP14 is the only choice I have?

      Thx,

      Tanguy Mezzano

  • avatar image
    Former Member
    Oct 15, 2008 at 09:49 AM

    hi!

    please check this thread.the step by step procedure is provided here.

    reg-string-splitting

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 01:32 PM
    Add comment
    10|10000 characters needed characters exceeded