cancel
Showing results for 
Search instead for 
Did you mean: 

Import Adaptive Web Service Model of DineroMail in Webdynpro

Former Member
0 Kudos

Hi:

I need create a Model in WebDynpro, importing a Web Service, URL of API DineroMail: https://sandboxapi.dineromail.com/dmapi.asmx

But, show next message: Error in loading the WSDL file.

Somebody can help me?

I've tried with others WSDL file, I don't have any problem.

Thanks!!

Accepted Solutions (0)

Answers (4)

Answers (4)

p330068
Active Contributor
0 Kudos

Hi Dorhyz

Can you try to save Sandboxapi.WSDL WSDL file https://sandboxapi.dineromail.com/dmapi.asmx?WSDL and then try to Import Adaptive WebService Model > with check box Local file system or URL > then follow the step.

Hope it will helps

Regards

Arun Jaiswal

p330068
Active Contributor
0 Kudos

Hi Dorhyz

You need to use correct WSDL file to create Webdynpro webservice model.

Please check with other WSDL file and make it for import in NWDS.

Regards

Arun Jaiswal

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

can you please tell what exactly you are importing? Do you specify the URL https://sandboxapi.dineromail.com/dmapi.asmx at WSDL import? This is not a WSDL file so it won't work of course.

Best Regards,

Ervin

Former Member
0 Kudos

Thanks, this is the URL of WSDL file:

https://sandboxapi.dineromail.com/dmapi.asmx?WSDL

gill367
Active Contributor
0 Kudos

Did you check the error logs?

Pls paste the same here.

Thanks

Sarbjeet SIngh

Former Member
0 Kudos

Hi, I don't know check error file.

Can you help me , to check it ?

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Dorhyz,

in NWDS switch on the PDE error log viewer:

Window -- show view... -- other -- PDE -- Error Log.

Then reproduce the import and check for error details here.

Best Regards,

Ervin

Former Member
0 Kudos

Thanks 😃

I saw the Error Log:

Message: Cannot load NameSpaces and ModelClasses

Exception: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL https://sandboxapi.dineromail.com/dmapi.asmx?WSDL and service factory configuration {DynamicProxy.ClassPath=C://Archivos de Programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Archivos de

programa/SAP/IDE/IDE70/eclipse/pluhins/com.sap.exception.jar}

I've tried with:

http://www.dataaccess.com/webservicesserver/numberconversion.wso?WSDL

I do'nt have problems to create New Model.

I read this article:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f07de95b-d81c-2a10-3daf-96172e846...

Regards!!!

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I've just tested it using NWDS CE 7.11 SP05 PAT0006 and I could import this WSDL as adaptive webservice without any problems.

Which version of NWDS do you use, and how exactly are you importing this WSDL?

(I am not sure the WS -- AWS migration guide is relevant here)

Thank you!

Best Regards,

Ervin

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

on 700 though I receive the same error, but only because my proxy is not set up properly (you find it in NWDS preferences) and because the

WSDL is using HTTPS. This case as mentioned I receive the same error. Do you also have a caused by part like this?

Always the deepest "Caused By" part is the most relevant error.


com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'https://sandboxapi.dineromail.com/dmapi.asmx?WSDL' and service factory configuration '{DynamicProxy.ClassPath=E:/NWDS700SP16/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;E:/NWDS700SP16/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;E:/NWDS700SP16/IDE70/eclipse/plugins/com.sap.engine.w...
...
...
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:150)
...
...
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
...
...
...
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to https://sandboxapi.dineromail.com/dmapi.asmx?WSDL, passing via http proxy: :80: SSL over Proxy with proxy authentication failure. Missing library tc_sec_https.jar. Please see SAP Note 753002 2004 -> java.io.IOException: Cannot connect to https://sandboxapi.dineromail.com/dmapi.asmx?WSDL, passing via http proxy: :80: SSL over Proxy with proxy authentication failure. Missing library tc_sec_https.jar. Please see SAP Note 753002 2004
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
...
...


Caused by: java.io.IOException: Cannot connect to https://sandboxapi.dineromail.com/dmapi.asmx?WSDL, passing via http proxy: :80: SSL over Proxy with proxy authentication failure. Missing library tc_sec_https.jar. Please see SAP Note 753002 2004
at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:161)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1019)
... 59 more

Best Regards,

Ervin

Former Member
0 Kudos

Thaks!!

I'm using:

SAP NetWeaver Developer Studio

Version: 7.0.14

Regards!!

Former Member
0 Kudos

Hi:

Thanks ... I receive the same error:

com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'https://api.dineromail.com/dmapi.asmx?WSDL' and service factory configuration '{DynamicProxy.ClassPath=C:/Archivos de

Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.

at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:150)

at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:50)

at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:88)

at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:412)

... 53 more

Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)

at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:147)

... 56 more

Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to https://api.dineromail.com/dmapi.asmx?WSDL, passing via http proxy: 192.168.1.11:8080: SSL over Proxy with proxy authentication failure. Missing library tc_sec_https.jar. Please see SAP Note 753002 2004 -> java.io.IOException: Cannot connect to https://api.dineromail.com/dmapi.asmx?WSDL, passing via http proxy: 192.168.1.11:8080: SSL over Proxy with proxy authentication failure. Missing library tc_sec_https.jar. Please see SAP Note 753002 2004

at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)

at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)

... 57 more

Caused by: java.io.IOException: Cannot connect to https://api.dineromail.com/dmapi.asmx?WSDL, passing via http proxy: 192.168.1.11:8080: SSL over Proxy with proxy authentication failure. Missing library tc_sec_https.jar. Please see SAP Note 753002 2004

at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:161)

at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1019)

... 59 more

I've tried with this URL: https://api.dineromail.com/dmapi.asmx?WSDL, but I received the same error

Regards!!!

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Dorhyz,

Caused by: java.io.IOException: Cannot connect to https://api.dineromail.com/dmapi.asmx?WSDL, passing via http proxy: 192.168.1.11:8080: SSL over Proxy with proxy authentication failure. Missing library tc_sec_https.jar. Please see SAP Note 753002 2004

at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:161)

at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1019)

... 59 more

please have a look at the note:

https://service.sap.com/sap/support/notes/753002

#753002 - Web Services SSL Proxy Authentication

Best Regards,

Ervin

Former Member
0 Kudos

Hi Ervin:

This is the Note:

Solution:

The authentication on the proxy for a Web Service Request using SSL fails with the message "SSL over Proxy with proxy authentication failure. Missing library tc_sec_https.jar. Please see SAP Note 753002 2004" The problem is solved by entering the library tc_sec_https.jar and tc_sec_saml_util.jar into the Java CLASSPATH. The libraries can be added either using the IDE function "set additional libraries" in the context menu of the project (Java Perspective) or from the server (Path /usr/sap/<SID>/JC<Instance Number>/j2ee/cluster/server0/bin/ext).

In addition, the SAP Java Cryptographic Toolkit (that is, iaik_jce.jar and not iaik_jce_export.jar) must be contained in the class path for using SSL, and the "JCE Unlimited Strength Jurisdiction Policy files" of the JDK manufacturer must be installed.

But, I don't know, how download the librarie,can you help me?

Regards!!!

Former Member
0 Kudos

Hi:

Downloaded tha librarie.

http://www.i-barile.it/SDN/EnablingSSL&ClientCertificatesOnTheSAPJ2EEEngine.pdf

But I can't install it. Can you help me?

Regards !!!