Forum Discussion

mdotoum's avatar
mdotoum
Occasional Contributor
5 years ago
Solved

refresh wsdl file on an existing project

i have an existing project with a lot of mocked services so the idea of re-creating a project and re-doing the work is going to take a long time and simply we can't affrod.

 

i was was wondering if there's a way to refresh the wsdl file or re-import it without impacting the work that has been done.

 

the WSDL is improted from a URL and the location is pretty much the same.

 

 

Thank you :)

  • Hi mdotoum 

     

    I'm struggling to understand the problem (sorry! sometimes I can be a bit dumb!)

     

    Are you saying that you have a .wsdl and way back when you repointed all your requests to use VIRTs/MockServices so now when you get a .wsdl update - it overwrites the endpoints back to what is specified in the .wsdl?

     

    Is that the issue?

     

    If that's the issue - surely you can just edit the .wsdl to point to the VIRT endpoints prior to applying the new .wsdl in your project to point to the VIRTs?

     

    Or have I got this totally wrong?

     

    Cheers,

     

    rich

     

  • Community Heroes, thank you for your help! 

    Hi mdotoum, please let us know if richie’s suggestion is correct! 

    Otherwise, could you please clarify the issue in detail? What behavior do you expect, and what do you see at the moment. Thank you.

4 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    How are you dealing with it currently and how it is impact you? That will help to understand.
    • mdotoum's avatar
      mdotoum
      Occasional Contributor

      Well the problem is i have so many mocked services from the same endpoint.

       

      This is not gonna be a one time import as constant development along the road would keep impacting the WSDL files so i need to find a workaround to fix is for upcoming changes.

      • richie's avatar
        richie
        Community Hero

        Hi mdotoum 

         

        I'm struggling to understand the problem (sorry! sometimes I can be a bit dumb!)

         

        Are you saying that you have a .wsdl and way back when you repointed all your requests to use VIRTs/MockServices so now when you get a .wsdl update - it overwrites the endpoints back to what is specified in the .wsdl?

         

        Is that the issue?

         

        If that's the issue - surely you can just edit the .wsdl to point to the VIRT endpoints prior to applying the new .wsdl in your project to point to the VIRTs?

         

        Or have I got this totally wrong?

         

        Cheers,

         

        rich