Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1686

Can't reuse svc_client ?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 1.7.0
    • transport/http
    • None
    • Linux / Ubuntu 14.04
      Mac OS X

    Description

      When a single svc_client is created i've send two requests, like this pseudo code :

      ret_node1 = axis2_svc_client_send_receive (svc_client, _env.get, payload);
      ret_node2 = axis2_svc_client_send_receive (svc_client, _env.get, payload);

      but the http client crash when building the soap_env, somewhere in soap_builder.c:281 ( axiom_soap_builder_next() )

      svc_client can't not be reused ? for each request we have to recreate a new svc_client ? However, In the axis2c samples ( echo service ) i can almost see the same case, so i suppose this should be supported.

      ( I use the SVN Trunk )

      Attachments

        Activity

          People

            Unassigned Unassigned
            agruet Alexis Gruet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: