| org.apache.axis2.LocalTestCase
All known Subclasses: org.apache.axis2.faults.SendingResponseFaultTest, org.apache.axis2.deployment.LifecycleTest,
LocalTestCase | public class LocalTestCase extends TestCase (Code) | | LocalTestCase is an extendable base class which provides common functionality
for building JUnit tests which exercise Axis2 using the (fast, in-process)
"local" transport.
|
deployClassAsService | protected AxisService deployClassAsService(String name, Class myClass) throws Exception(Code) | | Deploy a class as a service.
Parameters: name - the service name Parameters: myClass - the Java class to deploy (all methods exposed by default) a fully configured AxisService, already deployed into the server throws: Exception - in case of problems |
deployClassAsService | protected AxisService deployClassAsService(String name, Class myClass, String scope) throws Exception(Code) | | Deploy a class as a service.
Parameters: name - the service name Parameters: myClass - the Java class to deploy (all methods exposed by default) Parameters: scope - the service scope a fully configured AxisService, already deployed into the server throws: Exception - in case of problems |
getClient | protected ServiceClient getClient() throws AxisFault(Code) | | Get a pre-initialized ServiceClient set up to talk to our local
server. If you want to set options, call this and then use getOptions()
on the return.
a ServiceClient, pre-initialized to talk using our local sender throws: org.apache.axis2.AxisFault - if there's a problem |
getClient | protected ServiceClient getClient(String serviceName, String operationName) throws AxisFault(Code) | | Get a pre-initialized ServiceClient set up to talk to our local
server. If you want to set options, call this and then use getOptions()
on the return. Clients created using this method have their To EPR
preset to include the address for the service+operation.
a ServiceClient, pre-initialized to talk using our local sender throws: org.apache.axis2.AxisFault - if there's a problem |
getOptions | protected Options getOptions()(Code) | | Get an Options object initialized with the right transport info, defaulting to SOAP 1.2
pre-initialized Options object |
|
|