cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "El Fassi Hamza (JIRA)" <>
Subject [jira] [Created] (CXF-6897) CXF validation
Date Wed, 11 May 2016 10:00:17 GMT
El Fassi Hamza created CXF-6897:

             Summary: CXF validation
                 Key: CXF-6897
             Project: CXF
          Issue Type: Bug
         Environment: tomcat 7, Eclipse, Spring, JAX-WS, Maven, CXF 2.7.3
            Reporter: El Fassi Hamza
            Priority: Blocker

Hi Community, I currently have a bug on the generation objects blocking the validation.
enumerations are generated with pattern annotation as followings:
        @Pattern(regexp = "Saler"),
        @Pattern(regexp = "direct_sale"),
        @Pattern(regexp = "Client")
    protected String typePrescription;
exp : type_saler.xsd

during validation, the parser interprets these annotations as mandatory in all same time.
We have to manage the types Enumeration and not string pattern with annotations.

Thanks in advance for your return.

This message was sent by Atlassian JIRA

View raw message