Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8845149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:40:02+00:00 2026-06-14T11:40:02+00:00

I am using a SOAP service that omits and reorders XML elements in a

  • 0

I am using a SOAP service that omits and reorders XML elements in a xsd:sequence, just like it was in a xsd:any.

I tried wsdl2java -Eosv but the generated code rejects the SOAP responses with org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement

What type of checking is disabled with -Eosv?
Is it possible to make it even less strict?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T11:40:03+00:00Added an answer on June 14, 2026 at 11:40 am

    Having tried to understand this in my dealings with Axis 2 v1.4.1, I ended up skimming through the source code. As documented in the WSDL2Java page and usage text, the -E options are passed to the databinding modules – in the case of -Eosv, the “osv” sub-option passed to is the ADB module. Digging down into the code generation for ADB, I found that the osv (OFF_STRICT_VALIDATION) option is only used to when determining the minOccurs. From org.apache.axis2.schema.SchemaCompiler in Axis 2 v1.4.1:

    // if the strict validation off then we consider all elements have minOccurs zero on it
    if (this.options.isOffStrictValidation()){
        metainfHolder.addMinOccurs(referencedQName, 0);
    } else {
        metainfHolder.addMinOccurs(referencedQName, elt.getMinOccurs());
    }
    

    Obviously, relying on the source code for expected behaviour is never wise as the implementation will change between versions, but I have so far found no “official” documentation on what -Eosv option is meant to do other than the vague statement “turn off strict validation”. I have not found any other options to make it less strict either.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm interfacing to a WCF web service that exposes its method using SOAP, using
I created a WCF SOAP service using VS 2008 that works server side. I
I've created an app that interacts with a SOAP service using java WS. I
I've found that I can import a SOAP/WSDL service that I plan on using
It seems that anyone can snoop on incoming/outgoing .NET web service SOAP messages just
I have a SOAP Service that is implemented using Apache Axis 2. It has
I am writing a WCF service that should handle a predefined SOAP/XML format that
I'm trying to call a WCF service using soap in IE8 and I can't
I am working on making a web service using soap. I'm stuck at trying
I am using Delphi XE2 to communicate with a fairly large SOAP service. I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.