Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-111

Change section 2.3.1 to have a bit more text


    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0 RC1
    • Component/s: Documentation
    • Labels:


      If you use a contract-last development style, you will have no Each redeployment of the service can possibly result in a different contract. Additionally, an upgrade of
      the SOAP stack used, or a migration to a different SOAP stack can also change said contract.
      In order for a contract to be useful, it must remain constant for as long as possible. If a contract changes, you
      will have to contact all of the users of your service, and instruct them to get the new version of the contract.

      Can be:

      'As mentioned earlier, the contract-last development style results in your web service contract (WSDL and your XSD) being generated from your Java contract (usually an interface). If you are using this approach, you will have no guarantee that the contract stays constant over time. Each time you change your Java contract and redeploy it, there might be subsequent changes to the web service contract.

      Aditionally, not all SOAP stacks generate the same web service contract from a Java contract. This means changing your current SOAP stack for a different one (for whatever reason), might also change your web service contract.

      When a web service contract changes, users of the contract will have to be instructed to obtain the new contract and potentially change their code to accommodate for any changes in the contract.'




            • Assignee:
              arjen.poutsma Arjen Poutsma
              alef.arendsen Alef Arendsen
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: