Apache Axis requests are being shared between threads

Solution Unverified - Updated -

Issue

  • With Apache Axis, requests are being shared between threads.
  • Getting error "Unexpected wrapper element found" that indicates that the wrong response was returned for the request with Axis 1.
{http://xml.apache.org/axis/}stackTrace:Unexpected` wrapper element {http://your.namespace/}exampleOperation found.   Expected {http://your.namespace/}differentOperation.

Environment

  • Apache Axis 1 as a web service client
  • sharing Stub objects between threads

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.