2644 Commits

Author SHA1 Message Date
Pascal Obry
0f37994c02 Hotplug: Ensure the proper content type is passed to the hotplug module.
When transferring a request from the main server to the hotplug one
we must use the same Content-Type. Not doing that will fail to pass
the POST (application/x-www-form-urlencoded) parameters to the
hotplug module.

Add corresponding regression test.

TN eng/toolchain/aws#110
2025-12-24 14:48:48 +01:00
Pascal Obry
b95f2f0c52 Add support for optional attributes and attributeGroup.
Add corresponding regression test.

TN eng/toolchain/aws#108
2025-12-11 19:20:08 +01:00
Pascal Obry
3b836f3fa5 Add support for WSDL attribute.
Update wsdl2aws to generate code to support WSDL attributes.

Add some regression tests.

TN eng/toolchain/aws#108
2025-12-01 22:55:51 +01:00
Pascal Obry
bdeeb01a00 Parse_Part: For document style only look for element in schema.
For document style binding a part is defiend as:

   <part name="somename" element="elt"/>

And "elt" must only match element in the schema and not complexType or
simpleType.

Update some invalid WSDL in regression test.

TN eng/toolchain/aws#108
2025-12-01 22:55:51 +01:00
Pascal Obry
200cdbb2d6 SOAP_Attribute: New type derived from SOAP_Record.
This is a compound type used to record XML attributes. The first
item is called attribute_value and contains the value of the node
(named attribute). The other fields are to record the attribute's value.

Update demos and some regression tests to avoid ambiguous use
of contructor R.

TN eng/toolchain/aws#108
2025-12-01 22:55:51 +01:00
Pascal Obry
680ee4512a Fix client/server faultcode which must be fully qualified.
Update baseline for test based on SSL.

Continued work for TN eng/toolchain/aws#104
2025-12-01 17:12:11 +01:00
Andry Ogorodnik
6967993f23 Escape quotes in wsdl2ada
Replace `"` from `<xs:pattern value` by `""` to create
a valid pattern string for regexp

For https://gitlab.adacore-it.com/eng/toolchain/aws/-/issues/107
2025-11-19 18:47:07 +00:00
Pascal Obry
004578e36b Fix optional record fields whose name is Ada reserved word.
We want to use the identifier (possibly translated to avoid clash
with Ada reserved words) for the declaration and not the one
as found in the WSDL. Note that this issue was affecting only
fields being optional in a record.

Add corresponding regression test.

TN eng/toolchain/aws#106
2025-11-18 22:25:31 +01:00
Pascal Obry
7175b51a32 Fix compilation issue due to duplicate definitions.
A types differing just in casing was creating a duplicate
definitions in <name>-types.ads package.

TN eng/toolchain/aws#106
2025-11-17 22:34:21 +01:00
Pascal Obry
a4014654fa Fix WSDL enumeration whose values have invalid characters for an identifier.
Add corresponding regression test.

TN eng/toolchain/aws#106
2025-11-17 20:39:10 +01:00
Pascal Obry
ffa94356d1 Fix client/server faultcode which must be fully qualified.
Update baseline for Windows.

Continued work for TN eng/toolchain/aws#104
Fixes TN eng/toolchain/aws#105
2025-11-12 20:30:34 +01:00
Pascal Obry
800dd058e7 Fix client/server faultcode which must be fully qualified.
See https://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383510
Section: 4.4.1 SOAP Fault Codes

TN eng/toolchain/aws#104
2025-11-07 17:29:25 +01:00
Clément Chigot
72a8d05f0d 0152_upload4: add test.out as a resource
This "test.out" is required and should be copied within the target.

pycross#236
2025-11-04 14:06:42 +00:00
Pascal Obry
081180133b Add support elementFormDefault attribute.
Standard element are now fully qualified (using QName) if and only if
the corresponding schema is set with elementFormDefault = Qualified.

Standard element here are element defined with attributes name/type and
not those being a reference (using ref attribute) to some other definition.

Add corresponding regression test and update some tests to conform to
this new support.

TN eng/toolchain/aws#101
2025-10-21 18:39:40 +02:00
Pascal Obry
85e010b839 tests: Add some missing schema.
Some tests where not passed the schema needed to properly serialize the
payload. This was working by chance as the tests were using only a standard
namespace (e.g. xsd:int).

preparatory work for eng/toolchain/aws#101
2025-10-21 18:18:18 +02:00
Pascal Obry
de7559f1d6 Fix errcon test copy/paste issue.
TN eng/toolchain/aws#80
2025-10-07 18:23:53 +02:00
Pascal Obry
582e7b5085 Add test for SOAP message with special characters. 2025-09-26 10:56:03 +00:00
Andry Ogorodnik
6a959385ee Attempt to stabilize the test
Increasing maximum client connections. By default, it is 5
 but in the test we have 8+1.
Increasing timeouts.
2025-07-16 15:59:50 +00:00
Pascal Obry
90571d9b87 Migrate all tests to use vector instead of Safe_Pointer.
TN eng/toolchain/aws#92
2025-07-11 23:11:01 +02:00
Pascal Obry
0ec488ca9d Check for arrays in ada2wsdl and display hint to use vector.
This is needed as the array support will be removed.

For eng/toolchain/aws#92
2025-07-11 23:11:01 +02:00
Pascal Obry
7accf376f0 Add support for optional parameters and record's fields.
Add correspoonding regression test.

For eng/toolchain/aws#92
2025-07-11 23:11:01 +02:00
Pascal Obry
9d6f6278f6 Better error message for syntax error.
This is better than having a LAL backtrace.

TN eng/toolchain/aws#92
2025-07-11 23:11:01 +02:00
Pascal Obry
8c68328f71 Adjust expected output of test 0265.
Continued work for 3fd2ec0.

TN: eng/toolchain/aws#90
2025-05-21 19:49:37 +02:00
Pascal Obry
a4fb637628 Add test for complexType with choice as parameter.
TN: eng/toolchain/aws#87
2025-05-01 07:09:56 +02:00
Pascal Obry
c48e07139d Add test for array as ref as parameter.
TN: eng/toolchain/aws#87
2025-05-01 07:09:56 +02:00