Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 93383 invoked from network); 24 Dec 2008 21:33:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Dec 2008 21:33:20 -0000 Received: (qmail 84977 invoked by uid 500); 24 Dec 2008 21:33:20 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 84961 invoked by uid 500); 24 Dec 2008 21:33:20 -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 84950 invoked by uid 99); 24 Dec 2008 21:33:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Dec 2008 13:33:20 -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 21:33:09 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B6A11234C467 for ; Wed, 24 Dec 2008 13:32:47 -0800 (PST) Message-ID: <828875231.1230154367743.JavaMail.jira@brutus> Date: Wed, 24 Dec 2008 13:32:47 -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=3D126591= 60#action_12659160 ]=20 Ron Grimes commented on CXF-1956: --------------------------------- Thanks. I guess we can close this for now. It is probably a Flex issue, rat= her than CXF. However, I would argue that your premise that "we'd have hear= d about it from other people" might be incorrect. I'm not sure how may peop= le are using Flex on the client side and consuming Spring/CXF web services.= I have a lot of web services and this is the first one to produce this sit= uation. I think it partially depends on the client technology being used an= d whether it would bawk at garbage attached at the end of the envelope. So,= given the peculiarity of the web architecture that I'm using, together wit= h the intermittent nature of this error, it may well be no surprise that it= hasn't been raised before. Btw, I'm not used to using a JIRA forum. I worked pretty isolated. So, sorr= y if I've not handled this "bug" reporting with the correct protocol. Thanks again for all your help. 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 > Attachments: countries.sql, Country.java, CountryDao.java, Countr= yDaoImpl.java, CountryFault.java, CountryService.java, CountryServiceImpl.j= ava > > > 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.