1 16 package javax.xml.rpc; 17 18 import javax.xml.namespace.QName ; 19 import java.util.Iterator ; 20 import java.util.List ; 21 import java.util.Map ; 22 23 35 public interface Call { 36 37 41 public static final String USERNAME_PROPERTY = 42 "javax.xml.rpc.security.auth.username"; 43 44 48 public static final String PASSWORD_PROPERTY = 49 "javax.xml.rpc.security.auth.password"; 50 51 57 public static final String OPERATION_STYLE_PROPERTY = 58 "javax.xml.rpc.soap.operation.style"; 59 60 67 public static final String SOAPACTION_USE_PROPERTY = 68 "javax.xml.rpc.soap.http.soapaction.use"; 69 70 76 public static final String SOAPACTION_URI_PROPERTY = 77 "javax.xml.rpc.soap.http.soapaction.uri"; 78 79 85 public static final String ENCODINGSTYLE_URI_PROPERTY = 86 "javax.xml.rpc.encodingstyle.namespace.uri"; 87 88 97 public static final String SESSION_MAINTAIN_PROPERTY = 98 "javax.xml.rpc.session.maintain"; 99 100 113 public boolean isParameterAndReturnSpecRequired(QName operationName); 114 115 136 public void addParameter(String paramName, QName xmlType, 137 ParameterMode parameterMode); 138 139 163 public void addParameter(String paramName, QName xmlType, Class javaType, 164 ParameterMode parameterMode); 165 166 173 public QName getParameterTypeByName(String paramName); 174 175 188 public void setReturnType(QName xmlType); 189 190 208 public void setReturnType(QName xmlType, Class javaType); 209 210 215 public QName getReturnType(); 216 217 228 public void removeAllParameters(); 229 230 235 public QName getOperationName(); 236 237 244 public void setOperationName(QName operationName); 245 246 251 public QName getPortTypeName(); 252 253 258 public void setPortTypeName(QName portType); 259 260 268 public void setTargetEndpointAddress(String address); 269 270 275 public String getTargetEndpointAddress(); 276 277 296 public void setProperty(String name, Object value); 297 298 307 public Object getProperty(String name); 308 309 316 public void removeProperty(String name); 317 318 324 public Iterator getPropertyNames(); 325 326 328 352 public Object invoke(Object [] inputParams) throws java.rmi.RemoteException ; 353 354 377 public Object invoke(QName operationName, Object [] inputParams) 378 throws java.rmi.RemoteException ; 379 380 397 public void invokeOneWay(Object [] params); 398 399 411 public Map getOutputParams(); 412 413 425 public List getOutputValues(); 426 } 427 428 | Popular Tags |