Good afternoon,
We found that we were able to duplicate the issue that has been seen doing the following:
1) Create WSDL based service in PM using the standard Warehouse WSDL
2) Add in the set at portal managed assertion to the policy
3) From the Dev portal select the unpublished API
4) Fill the fields and enable
5) Click on to edit the API again
6) Upload a WSDL and provide the URL information for the interactive documentation and the Location of API on the proxy configuration tab then click Save.
Current Behavior: Error received below
Error update api-c8461d9d-6efe-489a-9796-abeab86cd292|,|The supplied SOAP violates the corresponding XML Schema definition.|,|cvc-complex-type.2.4.a: Invalid content was found starting with element 'ResourceSet'. One of '
{"http://ns.l7tech.com/2010/04/gateway-management":ResourceSet}
Steps to move past this:
Create your own doc page and attach the WSDL to it
1. Finding the API ID of the API you're making documentation for. (Dashboard > APIs > Edit API > Notes tab)
2. Renaming my WSDL to <apiId>.wsdl
3. Manually uploading the WSDL to the CMS under /resources/wsdl with content-type of application/octet-stream and publish once uploaded.
4. Go to /staging/documentation
5. Add a new page:
Template Type = APIGeneratedDocument
Layout Type = insidepage_2col
6. Hover over L7 Icon on the APIGeneratedDocument Section > Advanced > Edit Text
7. Paste the following in, and replacing the ServiceUUID value (e.g. bc67d1db-47cc-4a86-bcfd-1a4a3a58860f) with the API ID from steps 1 and 2:
<?xml version="1.0" encoding="UTF-8"?>
<APIGeneratedDocument><ServiceUUID wsdl="true" domain="APIs">bc67d1db-47cc-4a86-bcfd-1a4a3a58860f</ServiceUUID><Content><WebContent></WebContent></Content></APIGeneratedDocument>
8. Click Save, Publish the page
You should now have a "Download WSDL File" button, that looks like the same as a Portal Published documentation page.
Sincerely,
Stephen Hughes
Director, CA Support