[ 
https://issues.apache.org/jira/browse/AXIS2-3216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541885
 ] 

Deepal Jayasinghe commented on AXIS2-3216:
------------------------------------------

Does this happen with codegen service or just POJO service ?

> When two requests are made almost concurrently, the soap body generated for 
> the response from the first request contains the start tag i.e. the service 
> name from the second call.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3216
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3216
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: OS: Windows XP.
> Software: Java 5,  SOAP + Axis2 + spring + hibernate
> IDE: Eclipse
>            Reporter: Rabiya
>
> When two SOAP requests (eg. getDevices and recordStatistics) are made in 
> quick succession the SOAP response for getDevices has the first tag in 
> <soapenv:Body> returned as <ns:recordStatisticsResponse 
> xmlns:ns="http://com.xxx.soap.eui.service/xsd";> while it should actually be 
> <ns:getDevicesResponse xmlns:ns="http://com.xxx.soap.eui.service/xsd";>
> Following are the SOAP request and response recorded using SOAP Monitor
> 2:04:50 PM    /soap/services/xxxEuiService/getDevices Complete
> REQUEST:
> ?xml version='1.0' encoding='utf-8'?><soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Header 
> /><soapenv:Body><axis2ns2:getDevices 
> xmlns:axis2ns2="http://com.xxx.soap.eui.service/xsd";><brandId>7</brandId><manufacturerId>3</manufacturerId></axis2ns2:getDevices></soapenv:Body></soapenv:Envelope>
> RESPONSE:
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Header 
> /><soapenv:Body><ns:recordStatisticsResponse 
> xmlns:ns="http://com.xxx.soap.eui.service/xsd";><ns:return><carouselImageURL 
> xmlns="http://model.eui.soap.xxx.com/xsd";>http://xxx.hi.nl/soap/image?c=k15EvFk-3LZOgqr05y4-51&amp;t=a&amp;v=3</carouselImageURL><hasSpecs
>  xmlns="http://model.eui.soap.xxx.com/xsd";>false</hasSpecs><hasViews 
> xmlns="http://model.eui.soap.xxx.com/xsd";>false</hasViews><id 
> xmlns="http://model.eui.soap.xxx.com/xsd";>39</id><name 
> xmlns="http://model.eui.soap.xxx.com/xsd";> Ander</name><thumbnailImageURL 
> xmlns="http://model.eui.soap.xxx.com/xsd";>http://xxx.hi.nl/soap/image?c=MveMRnk-HpncsyUkrB4-W2&amp;t=a&amp;v=12</thumbnailImageURL></ns:return>
> <ns:recordStatisticsResponse></soapenv:Body></soapenv:Envelope>
> 2:04:52 PM    /soap/services/xxxEuiService/recordStatistics   Complete
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Header 
> /><soapenv:Body><axis2ns3:recordStatistics 
> xmlns:axis2ns3="http://com.xxx.soap.eui.service/xsd";><action>1</action><newSession>true</newSession><sessionId>null</sessionId><customerId>3</customerId><subscriptionPlanId>-1</subscriptionPlanId><brandId>7</brandId><topicId>-1</topicId><deviceId>-1</deviceId><locale>nl</locale><useCaseId>-1</useCaseId></axis2ns3:recordStatistics></soapenv:Body></soapenv:Envelope>
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Header 
> /><soapenv:Body><ns:recordStatisticsResponse 
> xmlns:ns="http://com.xxx.soap.eui.service/xsd";><ns:return>1190277295551-raQEyp8GoXa-1</ns:return></ns:recordStatisticsResponse></soapenv:Body></soapenv:Envelope>
> If a pause is inserted between these two calls, then the results returned are 
> correct :
> <?xml version='1.0' encoding='utf-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>   <soapenv:Header />
>   <soapenv:Body>
>     <ns:getDevicesResponse xmlns:ns="http://com.xxx.soap.eui.service/xsd";>
>       <ns:return>
>         <carouselImageURL 
> xmlns="http://model.eui.soap.xxx.com/xsd";>http://xxx.hi.nl/soap/image?c=k15EvFk-3LZOgqr05y4-51&amp;t=a&amp;v=3</carouselImageURL>
>         <hasSpecs xmlns="http://model.eui.soap.xxx.com/xsd";>false</hasSpecs>
>         <hasViews xmlns="http://model.eui.soap.xxx.com/xsd";>false</hasViews>
>         <id xmlns="http://model.eui.soap.xxx.com/xsd";>39</id>
>         <name xmlns="http://model.eui.soap.xxx.com/xsd";>Ander</name>
>         <thumbnailImageURL 
> xmlns="http://model.eui.soap.xxx.com/xsd";>http://xxx.hi.nl/soap/image?c=MveMRnk-HpncsyUkrB4-W2&amp;t=a&amp;v=12</thumbnailImageURL>
>       </ns:return>
>          </ns:getDevicesResponse>
>   </soapenv:Body>
> </soapenv:Envelope>
> Please suggest if this is a known issue with axis.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to