AdaCore / AdaCore/aws

Problem with wsdl2aws

Open
#34 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Ada
Stars
162
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Hello all,

With a wsdl file provided to us, we are trying to create the ADA interfaces to use a web service with wsdl2aws tool, but wsdl2aws returns an error.
(Executed command: > /usr/gnat/bin/wsdl2aws FlightLegClrnceANSNotif.wsdl)

Error: (FlightLegClrnceANSNotif) Unknown encoding type

The wsdl has been checked in some online validators and its structure seems to be ok. Besides we have generated with gsoap to create the interfaces in C instead of ADA (wsdl2h and soap2cpp) and all seems to be correct, not appearing the previously mentioned error.

Others example wsdl files have been tested with wsdl2aws and all is ok but with the file that we attached we have problems.

FlightLegClrnceANSNotif.wsdl.txt

Could you try to generate with your wsdl2aws the attached file? We are wondering if we have some installation AWS problem or maybe we are missing some generation options in wsdl2aws.

Thanks in advance.

PS: The file is renamed to .txt, remove .txt before generating with wsdl2aws.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running /usr/gnat/bin/wsdl2aws against FlightLegClrnceANSNotif.wsdl after removing the .txt suffix and reproduce the “Unknown encoding type” error. Inspect the attached WSDL around its encoding declarations and compare it with examples that wsdl2aws accepts. Done means identifying whether the WSDL or the installation/options cause the failure and documenting the required correction or invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
xml
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.