axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Chappell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3526) quickstartjibx sample's update() method doesn't work -- HashMap should be static?
Date Thu, 21 Feb 2008 06:12:43 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-3526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570953#action_12570953
] 

Tom Chappell commented on AXIS2-3526:
-------------------------------------

Whoops, I probably should have mentioned some versions.  Besides Axis2 1.3 and J2SE  1.5.0_14-b03,
I'm using Tomcat 5.5, JiBX 1.1.5, and Ant 1.6.5.

> quickstartjibx sample's update() method doesn't work -- HashMap should be static?
> ---------------------------------------------------------------------------------
>
>                 Key: AXIS2-3526
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3526
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.3
>         Environment: All (I'm using Windows XP, TomCat, Java 1.5)
>            Reporter: Tom Chappell
>            Priority: Minor
>   Original Estimate: 0.75h
>  Remaining Estimate: 0.75h
>
> The quickstartjibx sample's update() method does not cause a stock's price to be updated
(subsequent getPrice() calls continue to return 42), presumably because the HashMap is not
static, and each invocation is happening on a new instance of the server-side class.  Making
the HashMap private, as it is in some of the other samples, corrects the problem.

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