4 Replies Latest reply on Nov 6, 2010 12:37 PM by cmurph00

    JBossWS fetches the WSDL repeatedly for every WS call

    alllle

      I generated the client JAX-WS stub code to consume a remote SOAP service. When invoking the service, I noticed JBossWS seems to make lots of HTTP GET calls to retrieve the WSDL files.

       

      What I did was calling getPort() to get the service object, then invoke the operation repeatedly on this service object. What I found out is:

      - For the first call: there are 4 HTTP GET to retrieve the same WSDL before the actual SOAP POST.

      - Each subsequent call: there is 1 HTTP GET to retrieve the same WSDL before the actual SOAP POST.

       

       

      These excessive HTTP GET for the same WSDL certainly seems less optimal. Performance is degraged 300% for the first call and 100% for each subsequent call. Does anyone know how to tune this behavior so it only retrieves the WSDL once per service object? Has this been reported before?

       

      BTW, I'm using JBossWS Native 3.1.1