Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 41440 invoked from network); 24 Dec 2008 02:47:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Dec 2008 02:47:14 -0000 Received: (qmail 27276 invoked by uid 500); 24 Dec 2008 02:47:14 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 27263 invoked by uid 500); 24 Dec 2008 02:47:13 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 27252 invoked by uid 99); 24 Dec 2008 02:47:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2008 18:47:13 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Dec 2008 02:47:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 39086234C430 for ; Tue, 23 Dec 2008 18:46:44 -0800 (PST) Message-ID: <1317711235.1230086804214.JavaMail.jira@brutus> Date: Tue, 23 Dec 2008 18:46:44 -0800 (PST) From: "Ron Grimes (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-1956) Garbage Appended to SOAP Envelope In-Reply-To: <428594625.1230084884323.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1956?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D126590= 20#action_12659020 ]=20 Ron Grimes commented on CXF-1956: --------------------------------- Yes, I am complaining that CXF is adding the garbage. Since CXF is reponsib= le for taking the return type of the service operation and packaging it ins= ide a SOAP envelope, I believe that the problem must reside in the SOAP env= elope creation process, or a related process. Altenatively, I guess it coul= d be a caching problem with Tomcat, or the result of an HTTP request smuggl= ing (e.g., DNS cache poisoning). But, I've checked those and don't believe = the problem lies there. =20 Ron Grimes > Garbage Appended to SOAP Envelope > --------------------------------- > > Key: CXF-1956 > URL: https://issues.apache.org/jira/browse/CXF-1956 > Project: CXF > Issue Type: Bug > Affects Versions: 2.1.2, 2.1.3 > Environment: Windows Server 2003 R2, Apache Tomcat 5.5.26, Web Se= rvices developed with Apache CXF 2.1.3 and Spring 2.5 > Reporter: Ron Grimes > Priority: Critical > > I have a web service that returns a list of ISO Country Codes and Names. = Garbage is being returned at the end of the SOAP envelope, which in turn th= rows a CXFServlet exception: > - Servlet.service() for servlet CXFServlet threw exception > java.lang.NullPointerException > =09at org.apache.xerces.dom.DeferredAttrNSImpl.synchronizeData(Unknown So= urce) > =09at org.apache.xerces.dom.AttrImpl.getNodeName(Unknown Source) > =09at org.apache.xerces.dom.AttributeMap.setNamedItem(Unknown Source) > =09at org.apache.xerces.dom.DeferredElementNSImpl.synchronizeData(Unknown= Source) > =09at org.apache.xerces.dom.ElementImpl.getNodeName(Unknown Source) > =09at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown S= ource) > =09at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown S= ource) > =09at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown S= ource) > =09at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown S= ource) > =09at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(Unknown S= ource) > =09at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transf= ormIdentity(Unknown Source) > =09at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transf= orm(Unknown Source) > =09at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transf= orm(Unknown Source) > =09at org.apache.cxf.wsdl11.SchemaSerializer.writeXml(SchemaSerializer.ja= va:60) > =09at org.apache.cxf.wsdl11.SchemaSerializer.marshall(SchemaSerializer.ja= va:48) > =09at com.ibm.wsdl.xml.WSDLWriterImpl.printExtensibilityElements(Unknown = Source) > =09at com.ibm.wsdl.xml.WSDLWriterImpl.printTypes(Unknown Source) > =09at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown Source) > =09at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source) > =09at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source) > =09at org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQu= eryHandler.java:171) > =09at org.apache.cxf.transport.servlet.ServletController.invoke(ServletCo= ntroller.java:152) > =09at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(Abstract= CXFServlet.java:174) > =09at org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractC= XFServlet.java:156) > =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > =09at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap= plicationFilterChain.java:269) > =09at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio= nFilterChain.java:188) > =09at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrappe= rValve.java:213) > =09at org.apache.catalina.core.StandardContextValve.invoke(StandardContex= tValve.java:174) > =09at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve= .java:127) > =09at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve= .java:117) > =09at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineV= alve.java:108) > =09at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.j= ava:174) > =09at org.apache.coyote.http11.Http11Processor.process(Http11Processor.ja= va:874) > =09at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler= .processConnection(Http11BaseProtocol.java:665) > =09at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEnd= point.java:528) > =09at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderF= ollowerWorkerThread.java:81) > =09at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Threa= dPool.java:689) > =09at java.lang.Thread.run(Unknown Source) > Sample of returned SOAP envelope with appended garbage: > > > > > AD > Andorra > > . > . > . > > > co=C2=AB=C3=97y --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.