Exploring SOAP in Zend Framework 2

At work we have designed a collection of SOAP services using ZF1. This has been great fun, and I’ve learned a lot considering that I hadn’t ever seen a WSDL before May this year. Now though, ZF2 is stable, and after hearing a lot about it at PHPNW I’ve been eager to try it. Rather than waiting for someone else to figure out the differences in the SOAP implementation for me, I’ve decided to jump in myself and learn about ZF2 on the way.

I spoke briefly about this to @Akrabat at PHPNW12, and he has set me down the path of intercepting the bootstrap phase to run the soap server before an action controller gets created.

I’ll be posting my findings here as I make progress, but welcome any input from anyone who has already done work with SOAP in ZF2.

2 Comments

  • 27th November, 2013 - 7:25 am | Permalink

    Did you have any success in creating a working soap server using ZF2? I’ve been poking around at the docs — seems similar to ZF2; however, I’m unclear whether the best practice is to load up the whole MVC architecture (I can see where that’s useful) or to simply bootstrap an app and then run the soap or JSON-RPC server and then handle.

    Anyways, just curious if you made any progress on this and if so … got a simple working example?

  • 14th January, 2014 - 9:01 pm | Permalink

    I did start building something, but never got it finished. I think that @monkeyphp did some work on it, but I con’t find it on his Github account.

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>