Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4357

Client generated by wsdl2java is not thread safe for neither single nor multiple stubs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • codegen
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            uygaryuzsuren uygar yuzsuren
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: