-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Extracted WSDL Fails Validation #387
Comments
🎉 Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the closed issues in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.). |
Are you able to successfully upload the files to apim using the portal? |
Trying to upload using the portal also gives validation error.
Informational: ParsingXMLStarted : Started parsing XML
Informational: ParsingXMLComplete : Completed parsing XML
Error: WsdlImportRuleVerifyWadl11Schema : The element 'operation' in namespace 'http://schemas.xmlsoap.org/wsdl/' has incomplete content. List of possible elements expected: 'documentation, input, output' in namespace 'http://schemas.xmlsoap.org/wsdl/' as well as any element in namespace '##other'.
Error: WsdlImportRuleVerifyWadl11Schema : The element 'operation' in namespace 'http://schemas.xmlsoap.org/wsdl/' has incomplete content. List of possible elements expected: 'documentation, input, output' in namespace 'http://schemas.xmlsoap.org/wsdl/' as well as any element in namespace '##other'.
Error: WsdlImportRuleVerifyWadl11Schema : The element 'operation' in namespace 'http://schemas.xmlsoap.org/wsdl/' has incomplete content. List of possible elements expected: 'documentation, input, output' in namespace 'http://schemas.xmlsoap.org/wsdl/' as well as any element in namespace '##other'.
Error: WsdlImportRuleVerifyWadl11Schema : The element 'operation' in namespace 'http://schemas.xmlsoap.org/wsdl/' has incomplete content. List of possible elements expected: 'documentation, input, output' in namespace 'http://schemas.xmlsoap.org/wsdl/' as well as any element in namespace '##other'.
Error: WsdlImportRuleVerifyWadl11Schema : The element 'operation' in namespace 'http://schemas.xmlsoap.org/wsdl/' has incomplete content. List of possible elements expected: 'documentation, input, output' in namespace 'http://schemas.xmlsoap.org/wsdl/' as well as any element in namespace '##other'.
Error: WsdlImportRuleVerifyWadl11Schema : The element 'operation' in namespace 'http://schemas.xmlsoap.org/wsdl/' has incomplete content. List of possible elements expected: 'documentation, input, output' in namespace 'http://schemas.xmlsoap.org/wsdl/' as well as any element in namespace '##other'.
Error: Parsing error : Unable to parse WSDL
Billy Chen
Software Developer
1801 S. 2nd St.| McAllen, TX 78503
P: (956) 664-8442
***@***.***| www.vantage.bank
The information contained in this message may be privileged and confidential. Please notify the sender if this message is received in error. Any views or opinions expressed in this message are those of the individual sender and not necessarily those of Vantage Bank Texas, its directors or its shareholders.
From: Wael Kdouh ***@***.***>
Sent: Wednesday, September 20, 2023 12:29 PM
To: Azure/apiops ***@***.***>
Cc: Billy Chen ***@***.***>; Author ***@***.***>
Subject: Re: [Azure/apiops] [BUG] Extracted WSDL Fails Validation (Issue #387)
Are you able to successfully upload the files to apim using the portal?
-
Reply to this email directly, view it on GitHub<#387 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBRVIQAWI37CR3AYOU2DVZDX3MRWZANCNFSM6AAAAAA463WBD4>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
So this means that the issue is not in the publisher as it's failing when you are using the portal. Can you try to extract using extractor and compare it to an export from the portal and share with us your findings? |
That last import was the extracted wsdl artifact.
WSDL was extracted originally using extractor from an API that is working in production.
Billy Chen
Software Developer
1801 S. 2nd St.| McAllen, TX 78503
P: (956) 664-8442
***@***.***| www.vantage.bank
The information contained in this message may be privileged and confidential. Please notify the sender if this message is received in error. Any views or opinions expressed in this message are those of the individual sender and not necessarily those of Vantage Bank Texas, its directors or its shareholders.
From: Wael Kdouh ***@***.***>
Sent: Wednesday, September 20, 2023 5:11 PM
To: Azure/apiops ***@***.***>
Cc: Billy Chen ***@***.***>; Author ***@***.***>
Subject: Re: [Azure/apiops] [BUG] Extracted WSDL Fails Validation (Issue #387)
So this means that the issue is not in the publisher as it's failing when you are using the portal.
Can you try to extract using extractor and compare it to an export from the portal and share with us your findings?
-
Reply to this email directly, view it on GitHub<#387 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBRVIQCEC7EOS75WI4IXPHTX3NSYHANCNFSM6AAAAAA463WBD4>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
This is the original WSDL that was imported into APIM. I reconfirmed that this can be imported successfully just now. The extractor created the artifact that is having validation issues from that imported WSDL which is an API that is currently used in Production. This API was deployed successfully using the previous Azure API Management Devops Resource Kit found here https://github.com/Azure/azure-api-management-devops-resource-kit albeit with many bugs we had to work around to get deployments working. |
@bcvantage - I was able to replicate your issue, but unfortunately it's an APIM issue, not an ApiOps one. Here's what I did:
ApiOps can't help you here, as all we do is make REST API calls to Azure API Management. I would suggest raising a support ticket to see why APIM cannot reimport the file it just exported from the portal. |
closing due to inactivity. |
Release version
APIOps Toolkit for Azure APIM v4.6.0
Describe the bug
APIOps successfully extracts WSDL but then run-publisher.yaml is unable to validate the extracted WSDL. Affected SOAP APIs are working in development and production environment and were able to be extracted and deployed successfully using the previous extractor of https://github.com/Azure/azure-api-management-devops-resource-kit.
Pipeline log is attached and WSDL.
dev.azure.com_vbtx_f1ea0352-831b-49ac-bd4a-c268ba747183__apis_build_builds_24538_logs_11.txt
specification-wsdl.txt
Expected behavior
Actual behavior
Reproduction Steps
The text was updated successfully, but these errors were encountered: