axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Woo (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-2746) Axis 1.4 with apache commons httpclient 3.1, throws "session no longer valid"
Date Wed, 25 Jun 2008 14:08:45 GMT
Axis 1.4 with apache commons httpclient 3.1, throws "session no longer valid"
-----------------------------------------------------------------------------

                 Key: AXIS-2746
                 URL: https://issues.apache.org/jira/browse/AXIS-2746
             Project: Axis
          Issue Type: Bug
          Components: Basic Architecture
    Affects Versions: 1.4
         Environment: jdk 1.5, axis 1.4, httpclient 3.1

            Reporter: Daniel Woo


1. add codec 1.3 and httpclient 3.1 to classpath
2. change client-config.wsdd, replace the line below
  <transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"></transport>
  To this:
  <transport name="http" pivot="java:org.apache.axis.transport.http.CommonsHTTPSender"></transport>
3. generate a stub and execute the stub, to access two exposed actions, the server has basic
http authentication
4. exceptions will be thrown

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: Session no longer valid
 faultActor: Server
 faultNode: 
 faultDetail: 
	{http://xml.apache.org/axis/}stackTrace:Session no longer valid
	at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
	at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
	at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
	at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
	at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
	at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
	at org.apache.axis.client.Call.invoke(Call.java:2767)
	at org.apache.axis.client.Call.invoke(Call.java:2443)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at com.hp.ov.sm.ws.change.QCIntChangeService_BindingStub.retrieveQCIntChangeKeysList(Unknown
Source)


-- 
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


Mime
View raw message