1 57 58 package org.apache.wsif; 59 60 import java.util.Iterator ; 61 62 import javax.wsdl.Definition; 63 import javax.xml.namespace.QName ; 64 65 83 public interface WSIFService { 84 93 public WSIFPort getPort() throws WSIFException; 94 95 102 public WSIFPort getPort(String portName) throws WSIFException; 103 104 112 public Object getStub(String portName, Class iface) throws WSIFException; 113 114 123 public Object getStub(Class iface) throws WSIFException; 124 125 136 public void mapType(QName xmlType, Class javaType) throws WSIFException; 137 138 145 public void mapPackage(String namespace, String packageName) 146 throws WSIFException; 147 148 153 public void setPreferredPort(String portName) throws WSIFException; 154 155 160 public Iterator getAvailablePortNames() throws WSIFException; 161 162 166 public Definition getDefinition(); 167 168 172 public WSIFMessage getContext() throws WSIFException ; 173 174 178 public void setContext(WSIFMessage context); 179 180 } 181 | Popular Tags |