Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 49048 invoked from network); 26 Feb 2008 18:55:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2008 18:55:49 -0000 Received: (qmail 3403 invoked by uid 500); 26 Feb 2008 18:55:37 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 3365 invoked by uid 500); 26 Feb 2008 18:55:37 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 3349 invoked by uid 99); 26 Feb 2008 18:55:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 10:55:37 -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; Tue, 26 Feb 2008 18:55:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 943A829A0017 for ; Tue, 26 Feb 2008 10:54:51 -0800 (PST) Message-ID: <1148056853.1204052091606.JavaMail.jira@brutus> Date: Tue, 26 Feb 2008 10:54:51 -0800 (PST) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-3134) javax.xml.stream.XMLStreamException: problem accessing the parser. Parser already accessed! - Authenticated WS Client In-Reply-To: <11823447.1187622811458.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Davanum Srinivas resolved AXIS2-3134. ------------------------------------- Resolution: Fixed > javax.xml.stream.XMLStreamException: problem accessing the parser. Parser already accessed! - Authenticated WS Client > --------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2-3134 > URL: https://issues.apache.org/jira/browse/AXIS2-3134 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: transports > Affects Versions: 1.3 > Environment: jdk 1.4.2 > Reporter: Bernd Frey > Priority: Blocker > > Hi, > I am trying to move to Axis2 1.3. With Version 1.1, my code worked fine: > ServiceClient sc = stub._getServiceClient(); > HttpTransportProperties.Authenticator auth = > new HttpTransportProperties.Authenticator(); > auth.setUsername(myUser); > auth.setPassword(myPwd); > auth.setAllowedRetry(true); > Options options = sc.getOptions(); > options.setProperty(HTTPConstants.AUTHENTICATE, auth); > ResponseDocument response = stub.callService(request); > when calling the client, I get this exception: > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R org.apache.axis2.AxisFault: problem accessing the parser. Parser already accessed! > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:72) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211) > [20.08.07 17:02:43:775 CEST] 7e9595cd SystemErr R at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) > ... > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R Caused by: javax.xml.stream.XMLStreamException: problem accessing the parser. Parser already accessed! > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R at org.apache.axiom.om.impl.llom.OMStAXWrapper.next(OMStAXWrapper.java(Compiled Code)) > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeNode(StreamingOMSerializer.java(Compiled Code)) > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:57) > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSerializerUtil.java:525) > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:789) > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:814) > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.serializeInternally(SOAPEnvelopeImpl.java:237) > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:225) > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:814) > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:421) > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:68) > [20.08.07 17:02:43:791 CEST] 7e9595cd SystemErr R ... 55 more > Thanks in advance, > Bernd -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org