01: /**
02: * Copyright 2003 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */package com.sun.portal.providers.simplewebservice.rpc;
13:
14: import javax.xml.rpc.Call;
15: import javax.xml.rpc.Service;
16: import javax.xml.rpc.ServiceException;
17:
18: import com.sun.portal.providers.simplewebservice.WebServiceDescriptor;
19:
20: public interface SWSCallFactory {
21:
22: /**
23: * Returns a configured Call object.
24: *
25: * The associated serializers and de-serializers
26: * are registered with the TypeMappingRegistry of
27: * the given Service object. The call properties are set.
28: * The i/o parameters are not.
29: *
30: * @param service the service object to be used
31: * @param descriptor containing the web service information
32: *
33: * @return Call the configured object
34: *
35: * @exception javax.xml.rpc.ServiceException if Call object cannot be created
36: */
37: public Call createCallObject(Service service,
38: WebServiceDescriptor descriptor) throws ServiceException;
39: }
|