views:

553

answers:

2

Hi!

Is there any way how I can access a web service from GWT using its WSDL? Previously I was trying to use the generated classes from ws-import.... but then someone pointed out to me that GWT cannot handle all Java, just a subset of it, hence it won't understand the ws-import classes.

Thanks and regards, Krt_Malta

+1  A: 

GWT can access web services using a RequestBuilder, which makes HTTP calls to a service and then gets access to its response.

Since your web service is using SOAP, the response you get in your RequestBuilder's callback will be XML. Parse that XML to find the information you're interested in, and you're good to go.

Jason Hall
Lol ok... that can kill me but anyways I'll give it a shot
Krt_Malta
A: 

In our project we were using Axis Client to make SOAP Web Service Call(WSDL Driven). We had use the inbuild plug tool provided by the WTP/ AXIS Webservice in Spring Source Tool to create the client using provided WSDL. We had use the same client code to incorporate with GWT and everything works fine.

Siddharatha Dhumale