This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Mozilla XML > August 2005 > Another web service proxy implementation instead of WebServiceProxyFactory





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Another web service proxy implementation instead of WebServiceProxyFactory
Eugene Prokopiev

2005-08-09, 7:45 pm

Hi,

Standart WebServiceProxyFactory have one big problem: I can't define
callbacks for every call of every web service method, but I need to
define one callback object during creating proxy for web service and
before any call.

So it's make sense to write another proxy implementation. I must to call
in in same manner:

var PeopleService = new
WebService("http://localhost:8080/wsapp/services/PeopleService?wsdl",
"PeopleService", createCallback);

WebService class must do:

1. Read all wsdl:operation for wsdl:portType = PeopleService
2. Create proxy methods for every wsdl:operation with same parameters +
one parameter for call callback function

What do you think about it?

--
Thanks,
Eugene Prokopiev
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews