You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Peter Niemann <p_...@hotmail.com> on 2007/04/02 19:43:43 UTC
Axis2 POJO using transportsession not thread safe
There is another email thread on this posted on March 12, 2007 which I
believe
is the same problem I am seeing.
As soon as there is more than one user, or concurrent useage of the axis2
engine,
the soap messages for the request/responses are not alligned properly
causing the system
to become unusable. Clients receive null for responses when this occurs and
as
more concurrency is encountered than there is an increase in null responses.
I ran the soap monitor utility and am providing an example of the problem.
The data returned in the response of a request/response pair is correct
however
the name of the response is not correct.
Example:
A performSearch request returns a loginResponse message.
The data in the loginResponse is correct however the name of the response is
wrong causing the client to receive a null for the response or a failed
response.
Request
----------------------------------
<?xml version='1.0' encoding='utf-8'?>
<soap:Envelope
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xop="http://www.w3.org/2004/08/xop/include"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<soap:Header>
<wsa:Action>urn:performSearch</wsa:Action>
<wsa:MessageID>urn:uuid:8838bf27-e989-4c9d-b710-b4c4a57edeba</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:To>http://localhost:8081/axis2/services/BiPlus</wsa:To>
<wsse:Security>
<wsu:Timestamp
wsu:Id="Timestamp-b6e4d86f-25ec-407f-a548-cb2249637d34">
<wsu:Created>2007-03-30T22:10:20Z</wsu:Created>
<wsu:Expires>2007-03-30T22:15:20Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</soap:Header>
<soap:Body>
<performSearch
xmlns="http://impl.biplusservice.webservices.biplus.hyperion.com/xsd">
<repositorySearch>
<caseSensitive
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">false</caseSensitive>
<doANDofKeywords
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">false</doANDofKeywords>
<endDate
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">0</endDate>
<hidden
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">false</hidden>
<recurse
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">false</recurse>
<startDate
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">0</startDate>
<startFolderUuid
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">
<identity>REPORTMART</identity>
</startFolderUuid>
</repositorySearch>
</performSearch>
</soap:Body>
</soap:Envelope>
Response
-------------------------------
<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>
<ns:loginResponse
xmlns:ns="http://impl.biplusservice.webservices.biplus.hyperion.com/xsd">
<ns:return>
<description
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">Contains
sample data loaded up at install time.</description>
<hidden
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">false</hidden>
<ax21:identifier
xmlns:ax21="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">
<identity
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">0ad7225c-0000-040a-000000efd485b810</identity>
</ax21:identifier>
<lastModifiedDate
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">1173992209717</lastModifiedDate>
<mimeType
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">Category</mimeType>
<name
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">Sample
Content</name>
<type
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">0</type>
</ns:return>
<ns:return>
<description
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">job
test</description>
<hidden
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">false</hidden>
<ax21:identifier
xmlns:ax21="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">
<identity
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">00000110c6b2ed5c-0000-0591-ac1b103f</identity>
</ax21:identifier>
<lastModifiedDate
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">1171564900257</lastModifiedDate>
<mimeType
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">BrioQueryJob</mimeType>
<name
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">Brio
8.0 Sample 2</name>
<type
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">3</type>
</ns:return>
<ns:return>
<description
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">bqy
3</description>
<hidden
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">false</hidden>
<ax21:identifier
xmlns:ax21="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">
<identity
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">00000110b79cee28-0000-08c0-ac1b103f</identity>
</ax21:identifier>
<lastModifiedDate
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">1174936316090</lastModifiedDate>
<mimeType
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">application/x-brioquery</mimeType>
<name
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">Brio
8.0 Sample 3.bqy</name>
<type
xmlns="http://info.common.biplusservice.webservices.biplus.hyperion.com/xsd">2</type>
</ns:return>
</ns:loginResponse>
</soapenv:Body>
</soapenv:Envelope>
_________________________________________________________________
Get a FREE Web site, company branded e-mail and more from Microsoft Office
Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org