Alternative SOAP implementation besides those offered by Microsoft

半腔热情 提交于 2019-12-11 12:11:57

问题


The most useful thing I like about SOAP vs REST is the WSDL. It makes my life much easier when creating applications for the iPhone as my classes can be generated for me without me doing much monkey work.

However, I'm trying to find a suitable alternative to ASMX/WCF. I predominantly use a Mac so Java, PHP or Mono solutions are mainly of interest to me.

I understand PHP has a SOAP service offering but it can't automatically generate a WSDL? Are there any tools which can facilitate this?


回答1:


There are many java based soap stacks. I would look at Apache CXF (http://cxf.apache.org/). See also its WSDL generation at http://cxf.apache.org/docs/soap-12.html.




回答2:


The latest versions have pretty good support for WSDL.

http://php.net/manual/en/book.soap.php

Here's a quick guide for it:

http://www.phpbuilder.com/columns/adam_delves20060606.php3



来源:https://stackoverflow.com/questions/4724969/alternative-soap-implementation-besides-those-offered-by-microsoft

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!