DynamicClientFactory dcf = DynamicClientFactory.newInstance(); Client client = dcf.createClient("http://admin:password@localhost:8080"+ "/services/MyService?wsdl"); Object[] a = client.invoke("test", ""); System.out.println(a);
/** * Create a new instance using a specific <tt>Bus</tt>. * * @param b the <tt>Bus</tt> to use in subsequent operations with the * instance * @return the new instance */ public static DynamicClientFactory newInstance(Bus b) { return new DynamicClientFactory(b); }
public XMLFilterImpl createExternalReferenceFinder(DOMForest parent) { return new ReferenceFinder(parent, catalog); } public boolean checkIfValidTargetNode(DOMForest parent, Element bindings, Element target) {
private Class<?> createFaultClass(Class<?> cls) { return new ExceptionCreator().createExceptionClass(cls); }
/** * Create a new <code>Client</code> instance using the WSDL to be loaded * from the specified URL and with the specified <code>ClassLoader</code> * as parent. * * @param wsdlUrl * @param classLoader * @return */ public Client createClient(String wsdlUrl, ClassLoader classLoader) { return createClient(wsdlUrl, null, classLoader, null); } public Client createClient(String wsdlUrl, ClassLoader classLoader, List<String> bindingFiles) {
/** * Create a new instance using a specific <tt>Bus</tt>. * * @param b the <tt>Bus</tt> to use in subsequent operations with the * instance * @return the new instance */ public static DynamicClientFactory newInstance(Bus b) { return new DynamicClientFactory(b); }
/** * Create a new <code>Client</code> instance using the WSDL to be loaded * from the specified URL and using the current classloading context. * * @param wsdlURL the URL to load * @return */ public Client createClient(URL wsdlUrl) { return createClient(wsdlUrl, (QName)null, (QName)null); } public Client createClient(URL wsdlUrl, List<String> bindingFiles) {
/** * Create a new <code>Client</code> instance using the WSDL to be loaded * from the specified URL and using the current classloading context. * * @param wsdlURL the URL to load * @return */ public Client createClient(String wsdlUrl) { return createClient(wsdlUrl, (QName)null, (QName)null); } public Client createClient(String wsdlUrl, List<String> bindingFiles) {
public Client createClient(URL wsdlUrl, List<String> bindingFiles) { return createClient(wsdlUrl, (QName)null, (QName)null, bindingFiles); }
/** * Create a new <code>Client</code> instance using the WSDL to be loaded * from the specified URL and using the current classloading context. * * @param wsdlURL the URL to load * @return */ public Client createClient(String wsdlUrl) { return createClient(wsdlUrl, (QName)null, (QName)null); } public Client createClient(String wsdlUrl, List<String> bindingFiles) {
/** * Create a new <code>Client</code> instance using the WSDL to be loaded * from the specified URL and using the current classloading context. * * @param wsdlURL the URL to load * @return */ public Client createClient(URL wsdlUrl) { return createClient(wsdlUrl, (QName)null, (QName)null); } public Client createClient(URL wsdlUrl, List<String> bindingFiles) {
public Client createClient(URL wsdlUrl, QName service, QName port) { return createClient(wsdlUrl, service, null, port); } public Client createClient(URL wsdlUrl, QName service, QName port, List<String> bindingFiles) {
public Client createClient(URL wsdlUrl, QName service, List<String> bindingFiles) { return createClient(wsdlUrl, service, null, bindingFiles); }
public Client createClient(String wsdlUrl, QName service) { return createClient(wsdlUrl, service, (QName)null); } public Client createClient(String wsdlUrl, QName service, List<String> bindingFiles) {
public Client createClient(String wsdlUrl, QName service, QName port) { return createClient(wsdlUrl, service, null, port); } public Client createClient(String wsdlUrl, QName service, QName port, List<String> bindingFiles) {
/** * Create a new <code>Client</code> instance using the WSDL to be loaded * from the specified URL and with the specified <code>ClassLoader</code> * as parent. * * @param wsdlUrl * @param classLoader * @return */ public Client createClient(URL wsdlUrl, ClassLoader classLoader) { return createClient(wsdlUrl, null, classLoader, null); } public Client createClient(URL wsdlUrl, ClassLoader classLoader, List<String> bindingFiles) {
public Client createClient(URL wsdlUrl, QName service) { return createClient(wsdlUrl, service, (QName)null); } public Client createClient(URL wsdlUrl, QName service, List<String> bindingFiles) {
public Client createClient(String wsdlUrl, QName service) { return createClient(wsdlUrl, service, (QName)null); } public Client createClient(String wsdlUrl, QName service, List<String> bindingFiles) {
public Client createClient(URL wsdlUrl, QName service) { return createClient(wsdlUrl, service, (QName)null); } public Client createClient(URL wsdlUrl, QName service, List<String> bindingFiles) {
public Client createClient(URL wsdlUrl, QName service, QName port) { return createClient(wsdlUrl, service, null, port); } public Client createClient(URL wsdlUrl, QName service, QName port, List<String> bindingFiles) {