Unexpected xs:annotation error while using wsconsume in JBoss EAP 6
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
