Skip to content
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

SOAP component generates wrong request body #22

Open
Glico21 opened this issue Sep 15, 2023 · 0 comments
Open

SOAP component generates wrong request body #22

Glico21 opened this issue Sep 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working Ready For ToDo Task is ready for development

Comments

@Glico21
Copy link

Glico21 commented Sep 15, 2023

SOAP component generates wrong request body

Description

When you try to generate a sample SOAP request, after configuring the component and specifying the WSDL URL, Binding, Operation you get the schema of the object and proceed to fill the fields in the Mapping section. The Bug is that the integrator automatically generates an object named parameters based on the data schema of an object with a different name.
SOAP-parameters
Such an object results in an error: io.elastic.soap.exceptions.ComponentException: Can not find valid structure for request. Object 'GetData' is not exist

For example, in the case shown in the screenshot, the object should contain the name GetData as represented in Operation.

Component Version

[
v1.2.9 - Apr 8 2022, 19:29rev: ca3982b
And lower
]

Steps to Reproduce

  1. Choose SOAP v2 component
  2. Fill WSDL URL (For example http://www.dneonline.com/calculator.asmx?WSDL), Binding, Operation
  3. Request body automatically creates object parameters
  4. Try to get a sample
  5. Get error "Object %NAME% is not exist

Actual Result

The integrator generates object parameters instead right one.

Expected Result

Integrator generates object with right name from Operation name according to schema.

Workaround(s)

It is possible to go to code mode and change object name to right one
Screenshot_20230915_115719

SOAP-workaround

You can test this issue in the test flow in Academia

@Glico21 Glico21 added the bug Something isn't working label Sep 15, 2023
@andrewreshitko andrewreshitko added the Ready For ToDo Task is ready for development label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Ready For ToDo Task is ready for development
Projects
None yet
Development

No branches or pull requests

2 participants