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

WSDL cached/not refreshed when service updated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 1.5.6, 1.6.1
    • None
    • None
    • XP SP2, Apache 2.2, Tomcat 5.5, JDK1.6.0_06

    Description

      I compile a service using Ant to an .aar and deploy it (using code modified from the sample WeatherSpringService). Service shows up correctly. Then recompile it adding a new method or change the name of an existing method. When service is redeployed Axis2 listServices still lists the old method name and none of the new methods are shown. When I look at the WSDL it is correct for the old service.

      I have confirmed that the new .aar has been deployed correctly, shut down and restarted Tomcat, (tried other variations like shutting down Tomcat, deleting the .aar, starting up Tomcat, then redeploying the .aar), shut down and restarted Apache, and cleared the browser caches. None of this has helped. Shutting down Tomcat, deleting the Axis2 service, and reinstalling the .war fixes this. I have concluded from the system behaviour that Axis2 is caching its generated WSDL for the service somewhere and isn't deciding to do a cache refresh. I have searched everywhere I imagine this information might be stored, but have been unsuccessful in finding it.

      Attachments

        1. HelloSpring.aar.1
          4 kB
          Stephen Kilburn
        2. HelloSpring.aar.2
          5 kB
          Stephen Kilburn

        Activity

          People

            Unassigned Unassigned
            stephenkca Stephen Kilburn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: