org.apache.axis.encoding
Class ServiceDescription
java.lang.Object
|
+--org.apache.axis.encoding.ServiceDescription
- public class ServiceDescription
- extends java.lang.Object
A very simple service description class, to demonstrate one way
to get type information out of band.
!!! This wants to be extended beyond just RPC... get away from
the focus on Parameters, and just type arbitrarily named
elements, hook up with schema systems, build an adapter for
parsing types using Castor, etc... So we probably want to
migrate the type mapping stuff into here.
- Author:
- Glen Daniels (gdaniels@macromedia.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inputParams
public java.util.Vector inputParams
- This probably wants to be split into a WSDL-like
set of MessageDescription objects, each of which
may then have named parts... that would allow
supporting arbitrary message patterns, too.
this is just a tiny demo for req/resp RPC.
outputParams
public java.util.Vector outputParams
returnType
public QName returnType
sendXsiType
public boolean sendXsiType
ServiceDescription
public ServiceDescription(java.lang.String name,
boolean isRPC)
isRPC
public boolean isRPC()
setEncodingStyleURI
public void setEncodingStyleURI(java.lang.String uri)
getEncodingStyleURI
public java.lang.String getEncodingStyleURI()
addInputParam
public void addInputParam(java.lang.String name,
QName type)
addOutputParam
public void addOutputParam(java.lang.String name,
QName type)
removeAllParams
public void removeAllParams()
setReturnType
public void setReturnType(QName type)
getInputParamTypeByName
public QName getInputParamTypeByName(java.lang.String paramName)
getInputParamTypeByPos
public QName getInputParamTypeByPos(int position)
getInputParamNameByPos
public java.lang.String getInputParamNameByPos(int position)
getParamTypeByName
public QName getParamTypeByName(java.lang.String messageType,
java.lang.String paramName)
- This one is what the outside world wants to use, I think.
getOutputParamTypeByName
public QName getOutputParamTypeByName(java.lang.String paramName)
getOutputParamTypeByPos
public QName getOutputParamTypeByPos(int position)
getReturnType
public QName getReturnType()
Copyright © 2001 Apache XML Project. All Rights Reserved.