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

[4.2.1] Validation Error Exception #1399

Open
ThomasGessert opened this issue Nov 20, 2023 · 0 comments
Open

[4.2.1] Validation Error Exception #1399

ThomasGessert opened this issue Nov 20, 2023 · 0 comments

Comments

@ThomasGessert
Copy link

ThomasGessert commented Nov 20, 2023

I need to access this SOAP API:

The problematic part is the tag 'ns8:Requests' that is part of the body of the listShipments and getShipment services.

Those WSDL should be o.k. as SoapUI 5.7.2 can generate new (and working) requests from them.

Whenever I try to submit a request I'm getting a Validation Error exception 'Missing element Request (listShipments.Request)'.

I tried several variants:

  • building the request myself and used client.service.(_soapheaders=[request]) -> Validation Error
  • using client1.get_type('ns8:listShipments') method -> results in Lookup Error
  • using client1.get_type('ns8:CT_ListShipments') -> works for for building the request, but Validation Error later

Disabling strict mode didn't help. For now I'm using the work-around to build the request with zeep and then posting it via requests.

Is there an option to disable validation for a request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant