Thursday, July 29, 2010

Re: Web service call

Hi Sanjeev,

I have set up a project in GWT 2.1 M2 through eclipse 3.5 and have included smartGWT jar file and have also configured in gwt.xml file. I am using wsdl classes from smartGwt and getting this error.
Caused by: java.lang.UnsatisfiedLinkError: com.smartgwt.client.data.XMLTools.loadWSDL(Ljava/lang/String;Lcom/smartgwt/client/data/WSDLLoadCallback;)

Kindly let me know the solution. Pls tell me if i am wrong in setting up the project.

Regards
Deepak

On Thu, Jul 29, 2010 at 1:51 AM, Sanjiv Jivan <sanjiv.jivan@gmail.com> wrote:
Hi Deepak,
I was just informing you about Smart GWT's capability of binding to WSDL's directly as a possible option. Multiple calls to webservices can be made asynchronously and the results can be presented in a grid / tabular form as the results arrive. Implementing this using Smart GWT is trivial and you can probably build the entire search / display interface in 200 - 300 lines of Smart GWT client side code alone. The response time depends on the response from the webservice itself. 

Whether you call the webservice directly from the client or go through your server depends on the architectural details  and features of your application and you're probably the best person to make that decision. For example do you want to do some sort of caching, data cleansing, collection of statistics etc 

Sanjiv

On Wed, Jul 28, 2010 at 3:22 PM, Deepak Singh <deepaksingh.kr@gmail.com> wrote:
Hi Sanjeev,

I am concerned with speed of server response.
So how fast can i get the response using this SmartGwt technique ?
My need is to call web service from different airlines at the same time as it happens with any travel portal when you search for flight on a particular date.

Thanks
Deepak

On Thu, Jul 29, 2010 at 12:45 AM, Sanjiv Jivan <sanjiv.jivan@gmail.com> wrote:
Smart GWT supports binding to your webservices WSDL directly without the need for writing any additional server side binding code. Have a look at the following samples. 



Sanjiv

On Wed, Jul 28, 2010 at 3:13 PM, Deepak Singh <deepaksingh.kr@gmail.com> wrote:
Hi,

As i am unfamilier with JAX-WS or REST. So i am looking for some inbuilt feature in GWT or any third part e.g.SmartGWT, Incubator etc.
Any sample code for the scenario. OR could pls tell me how to set up the project structure in a proper manner.




On Thu, Jul 29, 2010 at 12:29 AM, lineman78 <lineman78@gmail.com> wrote:
I am unfamiliar with Jibx, you need to realize that GWT is completely
decoupled from the server side so 'compatibility' of a server-side
library with GWT is never an issue, it is your design and con-ops that
must be compatible with GWT.  You must decide on how you are going to
communicate between your GWT client and the server.  The way I see it
you have 2 choices: GWT-RPC or REST(XML or JSON).  My preference for
speed is JSON REST services.  So what you would do is make a RESTful
request to the server for the information, the server would then call
the Jibx method which would make the SOAP calls to the data sources
and you would convert and return that data to the GWT client.  The
reason I suggested a JAX-WS(aka Metro) client is that JAX-WS and JAX-
RS objects can be compatible and you could just serialize them back
out with minimal to no translation.

On Jul 28, 12:07 pm, Deepak Singh <deepaksingh...@gmail.com> wrote:
> Hi,
>
> Plan to use Jibx binding on server side due to its fast response. will it be
> compatible with gwt?
>
> On Wed, Jul 28, 2010 at 10:24 PM, lineman78 <linema...@gmail.com> wrote:
> > Due to the SOP you might need to write your own server-side
> > translator.  Personally, I would use the WSDL to generate a Java SOAP
> > client and use the same objects for a Jersey REST service to pass the
> > data down to the client.  Look at the Jersey project for REST
> > examples(the getting started guide is good).  Here is how to do a SOAP
> > client:
>
> >http://download-llnw.oracle.com/javaee/5/tutorial/doc/bnayn.html#bnayx
>
> > On Jul 27, 1:24 pm, Deepak Singh <deepaksingh...@gmail.com> wrote:
> > > Hi,
>
> > > With GWT 2.1
>
> > > My requirement is, I have to connect to different airlines thorugh their
> > web
> > > services at the same time to search for available flights and then
> > display
> > > the search result on my page.response
> > > I have wsdl files for all of them and methods to invoke and set request
> > as
> > > xml string and get response as xml string. I have to do this search very
> > > very fast to get the response in 2 seconds from all the airlines. Kindly
> > > suggest the best approach to follow.
> > > If possible provide some sample code.
>
> > > Regards
> > > Deepak
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubscribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment