Unexpected xs:annotation error while using wsconsume in JBoss EAP 6

Solution Unverified - Updated -

Issue

  • Getting the following exception on console while using wsconsume script in JBoss EAP 6 :
[WARNING] s4s-elt-must-match.1: The content of 'sequence' must match (annotation
?, (element | group | choice | sequence | any)*). A problem was found starting a
t: annotation.
  line 352 of file:/C:/tmp/FL2.wsdl#types?schema1

[WARNING] s4s-att-not-allowed: Attribute 'minoccurs' cannot appear in element 'e
lement'.
  line 1065 of file:/C:/tmp/FL2.wsdl#types?schema1

[ERROR] Unexpected <xs:annotation> appears at line 352 column 41
  line 352 of file:/C:/tmp/FL2.wsdl

Environment

  • Red Hat JBoss Enterpise Application platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content