Yii Framework Forum: Supporting Web Service Versions - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Supporting Web Service Versions Rate Topic: -----

#1 User is offline   Say_Ten 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 109
  • Joined: 17-September 10

Posted 26 March 2012 - 07:13 AM

Recently we needed to add a couple of parameters onto complex objects for a SOAP based web service we maintain. However we can't have these new parameters required due to old versions of the client code being in the wild. As a quick solution I copied the web service code and made it add minOccurs onto elements what had a code comment of @optional, not the best solution.

My proposal would be to expand the web service code so that it could generate WSDL files based on versions of the web service. It would require being able to request the WSDL for a particular version and the WsdlGenerator could use the @since code comment to include or omit types accordingly.

I'd be happy to work on this but not if it's a rubbish idea ;)

Share this topic:

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users