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