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 A0CAB182A2 for ; Mon, 4 May 2015 10:28:07 +0000 (UTC) Received: (qmail 61305 invoked by uid 500); 4 May 2015 10:28:07 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 61144 invoked by uid 500); 4 May 2015 10:28:06 -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 60959 invoked by uid 99); 4 May 2015 10:28:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2015 10:28:06 +0000 Date: Mon, 4 May 2015 10:28:06 +0000 (UTC) From: "Hudson (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AXIS2-4791) JAX-WS: Support an option to allow invalid xml characters to be removed from an outbound JAXB serialization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-4791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14526510#comment-14526510 ] Hudson commented on AXIS2-4791: ------------------------------- SUCCESS: Integrated in ws-axiom-trunk #1998 (See [https://builds.apache.org/job/ws-axiom-trunk/1998/]) AXIOM-311: Refactor and simplify the test cases for AXIS2-4791. Also remove the System.out.println calls that pollute the build logs. (veithen: rev 1677571) * /webservices/axiom/trunk/implementations/axiom-impl/src/test/java/org/apache/axiom/om/impl/llom/XMLStreamWriterFilterTest.java * /webservices/axiom/trunk/modules/axiom-api/src/test/java/org/apache/axiom/om/impl/XMLStreamWriterFilterTestCase.java * /webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/OMTestSuiteBuilder.java * /webservices/axiom/trunk/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestSerializeWithXmlStreamWriterFilter.java > JAX-WS: Support an option to allow invalid xml characters to be removed from an outbound JAXB serialization > ----------------------------------------------------------------------------------------------------------- > > Key: AXIS2-4791 > URL: https://issues.apache.org/jira/browse/AXIS2-4791 > Project: Axis2 > Issue Type: Improvement > Reporter: Rich Scheuerle > Assignee: Rich Scheuerle > Original Estimate: 48h > Remaining Estimate: 48h > > Background: > The JAX-WS engine uses JAXB data objects. > The JAXB data objects are marshaled to xml using a JAXB provided Marshaler. > The Marshaler writes information to an XMLStreamWriter (which will be the axiom provided MTOMXMLStreamWriter). > Problem: > If a customer populates the JAXB bean with non-xml characters (0x15), the JAXB Marshaler will write the illegal characters without errors. > However the SOAP node receiving the message will fail. > Solution: > Provide a JAX-WS property that a customer can set (using the @WebServiceContext) to recognize and remove illegal characters. > This solution will have an axiom and axis2 contribution. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org