DUAS: Manager for Web Services cannot retrieve secured SOAP wsdl
search cancel

DUAS: Manager for Web Services cannot retrieve secured SOAP wsdl

book

Article ID: 133877

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

It is impossible to add a SOAP Webservice in Dollar Universe Manager for Web Services in case the wsdl is protected and requires a User / Password to be able to download it.

The error that appears in the Univiewer Console is:

Error while loading WSDL for service WEBSERVICE_NAME. The error is: WSDLException (at /html): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'.

Environment

Component : Dollar Universe Manager for Web Services (JEE) 6.x and 7.x

Cause

Unsupported feature in Dollar Universe Manager for Web Services

Resolution

Unsupported feature, the manager for Web Services cannot retrieve wsdl-file if a username and password are necessary to download the wsdl-file.

As a workaround, you can download the wsdl-file locally and then copy it into the Dollar Universe folder to be able to use it inside the SOAP Uprocs:

  1. Copy the wsdl file in " <duas_folder>\thirdparty\soap_wsdl\SOAP_WS_NAME" 
  2. Modify the file " <duas_folder>\data\data_java\ws_soap_services.xml" 
  3. Stop and Start JEE service 

Additional Information

For SoapUI default timeout for HTTP requests is 0, please update it to allow definitions to load:

SoapUI - File -> Preferences -> HTTP Settings -> Socket Timeout -> set to high number like 100000 ms

https://www.soapui.org/docs/preferences-and-settings/?sbsearch=Socket%20Timeout

This will make sure issue is not with HTTP Socket timeout.