Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF7361095F for ; Mon, 10 Feb 2014 17:41:07 +0000 (UTC) Received: (qmail 35876 invoked by uid 500); 10 Feb 2014 17:40:54 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 35657 invoked by uid 500); 10 Feb 2014 17:40:53 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 35578 invoked by uid 99); 10 Feb 2014 17:40:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Feb 2014 17:40:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bif@verizon.net designates 206.46.173.15 as permitted sender) Received: from [206.46.173.15] (HELO vms173015pub.verizon.net) (206.46.173.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Feb 2014 17:40:45 +0000 Received: from [127.0.0.1] ([unknown] [70.208.156.249]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N0S00DWPJQPOO00@vms173015.mailsrvcs.net>; Mon, 10 Feb 2014 11:40:05 -0600 (CST) Message-id: <52F90EF4.6060906@verizon.net> Date: Mon, 10 Feb 2014 12:40:04 -0500 From: "T. Allen" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-version: 1.0 To: java-dev@axis.apache.org, java-user@axis.apache.org Subject: Regex problems with XMLBeans Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have an Axis2 1.6.1 web service that has 1 regex in the WSDL schema. The WSDL/schema snippet is below. I know the regex pattern of ^(NA|UN).* is valid as I have tested it. However, each time I send a request with a string that matches the pattern I get an error like "string value 'NA1122' does not match pattern" when performing validation against the schema. I have used simple patterns before with XMLBeans and they have worked fine. Have I defined the regex incorrectly or does the XMLBeans binding have problems with regex? Any and all information is appreciated. Thanks, T --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org