Another web service proxy implementation instead of WebServiceProxyFactory
Eugene Prokopiev <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
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