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

Calling Web Service with NWDS 7.0.08

Hi All,

I'm just developing with NWDS 7.0.08 an Web Dynpro application. Within the requirements I have to implement an external web service (not an Portal web service). Now, I've reached to a point where I really need help.

First I've tried to implement the WSDL file over the wizard "Import Adaptive Web Service Model" by creation of the web service model. Unfortunatelly this failed with the following error message : "Error in loading the WSDL file. Check the error log for more details." By the way... I can't find any log file :-(. But when I check the URL with Web Service Checker in the Enterprise Portal Perspective it runs well.

The workaround was that I saved the WSDL file on my local drive, imported successfully and modified two files where the path of my local drive pointed to the WSDL file and not the URL.

After this step I mapped the model with the context, bind the value and call the service. Here a snippet :

 - wdContext.nodeReqIsUserGroup().bind(new Request_IsUserkidMemberOfGroup(lws_user));

 - wdContext.currentReqIsUserGroupElement().modelObject().execute();

<b>Following errors I get if I execute the application</b>:

- Warning ! Provider [SecurityProtocol] not found for feature in logical port [LdapGroup.cfc] !

- Attempting to create outgoing ssl connection without trusted certificates

- Exception on execution of web service with WSDL URL 'https://xxx/LdapGroup.cfc?WSDL' with operation 'isUserkidMemberOfGroup' in interface '{http://ldapTools.webservice}LdapGroup'

Can anybody help me?

Thanks a lot,

Laslo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Dec 04, 2006 at 09:31 PM

    Hi,

    Have you tested your webservices using tools like XML Spy?

    What happens when you try 'http://xxx/LdapGroup.cfc?WSDL' instead of 'https://xxx/LdapGroup.cfc?WSDL' ?

    Ashutosh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ashutosh,

      thanks for you answer. Unfortunately I have to use "https".... But I've tested it also with http (same result). With the Web Service Checker from NWDS it works fine....

      I'm just searching after a workaround. Perhaps you have some more ideas?

      Regards,

      Laslo

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2006 at 09:35 PM

    Hi,

    I could solve the issue with my web service. In my request I set my parameters in an other way that is described in the SAP docs.

    Thanks!

    Laslo

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2007 at 03:20 AM

    Hi Laslo,

    I am having a similar issue please could you share the sap docs which you reffered to solve your issue.

    First I've tried to implement the WSDL file over the wizard "Import Adaptive Web Service Model" by creation of the web service model. Unfortunatelly this failed with the following error message : "Error in loading the WSDL file. Check the error log for more details."

    The error log as follows:

    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to https://host:4444/clientname/services/GetData/wsdl/GetIno.wsdl, passing via http proxy: hodc-cache.clientname.com:8088: SSL over Proxy with proxy authentication failure. Missing library tc_sec_https.jar. Please see SAP Note 753002 2004 ->

    As sap note mentioned I referred the required jars to my project but still I am not able to access the https webservice from nwds.

    Is there any way that I can get around this HTTPS?

    I tried diffferent option nothing works,Please advice.

    Krish

    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.