开发者

Need help: Building Java Web-Service(s) and .NET/WPF Client consuming it

I am required to build couple of Java WebServices on JBoss 5.x. One of the services will be consumed by a WPF Application. I am quite new to the world of WebServices and researching more on that. Needed to know if someone has been through the same and can share the pointers on how to achieve it.

I am reading one of the articles on JBoss Communities开发者_高级运维: http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch12.html

I am not sure if web services explained here are interoperable with my WPF Client. I am planning to use WCF to consume these web services.

Can anyone share some pointers about it?

Thanks!


WCF can consume SOAP web services as well as RESTful ones. I recommend looking into JAX-RS for REST, and/or JAX-WS for SOAP. Both JAX-RS and JAX-WS are APIs that let you create web services by annotating Java code, rather than having to work with XML configuration files.

These days, SOAP is often considered over-engineered, and REST is considered leaner. There are a ton of questions comparing the two on SO.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜