|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
soaprest.DualProvider
test.DualEndpoint
@Copyright
@SoapRestProvider(serviceName="TestService",
portName="TestEndpoint",
targetNamespace="http://test",
wsdlLocation="wsdl/TestService.wsdl")
public class DualEndpointTest endpoint that can be deployed either stand-alone or in a servlet container. Operations can be invoked using either REST or SOAP.
| Field Summary | |
|---|---|
private static long |
serialVersionUID
Default version identifier. |
| Constructor Summary | |
|---|---|
DualEndpoint()
Construct a Test web service that can be invoked with either SOAP or ReST. |
|
| Method Summary | |
|---|---|
void |
init()
Initialize the web service after it has been deployed in a servlet container. |
static void |
main(java.lang.String... args)
This program deploys the test web service as a stand-alone service. |
| Methods inherited from class soaprest.DualProvider |
|---|
deploy, getImplementation, getMessageContext, getWsdlLocation, init, invoke, returnRestFaults, service, setWsdlLocation |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
| Constructor Detail |
|---|
public DualEndpoint()
throws java.lang.Exception
getInitParameter
method after the endpoint has been deployed in a servlet container. If
the endpoint is deployed stand-alone, then parameters should be set by
means of a separate method such as in this example.
java.lang.Exception - if the web service provider cannot be constructed.| Method Detail |
|---|
public void init()
init in class javax.servlet.GenericServlet
public static void main(java.lang.String... args)
throws java.lang.Exception
args - The following are the command-line arguments.
java.lang.Exception - if the test service cannot be deployed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||