Package com.groiss.ws.client
Class ConfigurationContextFactory
java.lang.Object
com.groiss.ws.client.ConfigurationContextFactory
provides
ConfigurationContext
instances for ws-client calls
the axis2.xml and repositories have to be in ws/client.ctx-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.axis2.context.ConfigurationContext
createsConfigurationContext
from ws/client.ctx/defaultstatic org.apache.axis2.context.ConfigurationContext
getClientConfigurationContext
(File baseDir, String name) createsConfigurationContext
from ws/client.ctx/name
if no repository can be found at ws/client.ctx/name
/repository, ws/client.ctx/default/repository will be usedstatic org.apache.axis2.context.ConfigurationContext
createsConfigurationContext
from ws/client.ctx/name
if no repository can be found at ws/client.ctx/name
/repository, ws/client.ctx/default/repository will be usedstatic org.apache.axis2.context.ConfigurationContext
-
Method Details
-
getDefaultConfigurationContext
public static org.apache.axis2.context.ConfigurationContext getDefaultConfigurationContext() -
getClientConfigurationContext
public static org.apache.axis2.context.ConfigurationContext getClientConfigurationContext()createsConfigurationContext
from ws/client.ctx/default- Returns:
- ws/client.ctx/default
ConfigurationContext
-
getClientConfigurationContext
public static org.apache.axis2.context.ConfigurationContext getClientConfigurationContext(String name) throws org.apache.axis2.AxisFault createsConfigurationContext
from ws/client.ctx/name
if no repository can be found at ws/client.ctx/name
/repository, ws/client.ctx/default/repository will be used- Returns:
- ws/client.ctx/
name
ConfigurationContext
- Throws:
org.apache.axis2.AxisFault
-
getClientConfigurationContext
public static org.apache.axis2.context.ConfigurationContext getClientConfigurationContext(File baseDir, String name) throws org.apache.axis2.AxisFault createsConfigurationContext
from ws/client.ctx/name
if no repository can be found at ws/client.ctx/name
/repository, ws/client.ctx/default/repository will be used- Returns:
- ws/client.ctx/
name
ConfigurationContext
- Throws:
org.apache.axis2.AxisFault
-