Unity3D and WebServices

Hi everyone

So in my Software Architecture class our last experiment is to create WebServices and consume them. My teacher told me that the “consuming” can be done in any other project, but the WS must be created through an EJB module in Netbeans (using GlassFish as the app server). I have read that consuming WS in possible within Unity, but I have not idea how to do that. Is these really possible? does anyone know a tutorial about this? I already have the WS, I wanted to consume it with a game project I have in Unity. I would EXTREMELY COOL cool to show my teacher that I’m consuming the WS in a video game hahaha :smile:

Anyway, thanks in advance!!

Oh by the way…the ws is SOAP-based not RESTful. Dont know is this make any difference while consuming it in Unity thou and the game is a desktop app.

Look at WWW in the docs.

Hopefully it fits the bill for what you are after.

SOAP makes a difference as WWW likely is no option. But as you are luckily on a desktop build not webplayer, you can look at MSDN into System.Web namespace which offers various technologies and functionalities for exactly this kind of stuff if you are on a desktop build.

really ??? thanks! Im guessing the “consuming” is thoruhg the wsdl right ? there no way to actually make a ws cliente by selectin the project itself like when you do in Netbeans and other IDE’s