You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2010/12/25 12:57:45 UTC

[jira] Resolved: (AXIS2-4357) Client generated by wsdl2java is not thread safe for neither single nor multiple stubs

     [ https://issues.apache.org/jira/browse/AXIS2-4357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4357.
-------------------------------------------------

    Resolution: Won't Fix

Axis2 stubs are not thread safe. As Deepal pointed out this is by design.

> Client generated by wsdl2java is not thread safe for neither single nor multiple stubs
> --------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4357
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4357
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>            Reporter: uygar yuzsuren
>
> I'm working on a web service client generated by wsdl2java.sh tool of axis2-1.4.
> When I load the client with a multiple of threads, the server starts to throw exceptions stating that there are unexpected characters in the input. When I checked the transferred SOAP messages via tcpdump, I see that the requests of my client becoming garbage, they are not valid SOAP messages when loaded.
> I googled it on the net and found out that there might be a workaround by creating a different stub instance for each call. But the author of this comment was not sure about that.
> I changed my code to create different stubs for each call but nothing changed, the sent messages were garbage again.
> Is there are way to solve this issue?I would be pleased if you could notify.
> Thank you

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org