01: /**
02: * $Id: SimpleWebServiceUtil.java,v 1.1 2003/06/03 10:45:15 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.util;
14:
15: import com.sun.portal.providers.simplewebservice.ParameterDescriptor;
16: import com.sun.portal.providers.simplewebservice.SimpleWebServiceParameter;
17:
18: import javax.xml.namespace.QName;
19:
20: public interface SimpleWebServiceUtil {
21:
22: // Conversion functions
23: public XList createXListFromSimpleArray(Object returnValues,
24: String arrayElementTypeName, String arrayName,
25: String arrayNamespace);
26:
27: public XList createXListFromComplexArray(Object returnValues,
28: ParameterDescriptor outputParamDesc);
29:
30: public SimpleWebServiceParameter createSWSParameterFromComplexType(
31: Object returnValues, ParameterDescriptor outputParamDesc);
32:
33: // Java type and XML type determination functions for simple types
34: public Class getSimpleClassType(String type);
35:
36: public QName getSimpleSchemaType(Class type, String encodingToUse);
37: }
|