WSDL Loading Issue
search cancel

WSDL Loading Issue

book

Article ID: 272336

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

I'm trying to Onboard SOAP api where I'm getting error while trying to load wsdl file.

The error from Policy Manager says "Could not fetch the WSDL at location ....." I tried with a separate wsdl and that gets loaded from same location.

Using Gateway 10.1 version, please let me know if there is some size constraint on Gateway which is not letting me to proceed.

The same wsdl got loaded successfully in Soap UI.

Policy Manager Error Dialog 

Could not fetch the WSDL as location …..

Policy manager error 

 

Aug 22, 2023 4:52:34 PM com.l7tech.console.panels.ayo run

INFO: Unexpected error.

java.lang.NullPointerException

at java.base/java.net.URI$Parser.parse(Unknown Source)

at java.base/java.net.URI.<init>(Unknown Source)

at com.l7tech.console.panels.b0.construct(Unknown Source)

at com.l7tech.gui.util.au.run(Unknown Source)

at java.base/java.lang.Thread.run(Unknown Source)

 

Environment

Release : 10.1

Cause

Policy manager has a file limitation of 8MB the WSDL file was 10 MB

Resolution

Workaround using load wsdl via URL

  1. Setup a temporary web api (/wsdl) with return template response assertion. Content type text/xml and copy in the wsdl contents. Save/activate
  2. In Publish SOAP Web Service Wizard, enter the location as http://localhost:8080/wsdl. Complete the rest of the wizard.
  3. Delete the temporary web api

https://<Gateway-LB>/<URI>?wsdl

Use the workaround until the release of the fix 

Policy Manager will be addressed in 

GW 10.1. Version 10.1 CR4 

GW 11.0 CR2 

GW Gateway 11.1 TBD