cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Web Service with NWDS 7.0.08

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member185029
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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