|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
soaprest framework.
See:
Description
| Interface Summary | |
|---|---|
| TestInterface | This class was generated by the JAX-WS RI. |
| Class Summary | |
|---|---|
| Adapter1 | |
| ContainerEndpoint | Test endpoint for deployment in a container. |
| Deploy | Wrapper for the deploy method. |
| DeployResponse | Wrapper for the deploy web service method return value. |
| DualEndpoint | Test endpoint that can be deployed either stand-alone or in a servlet container. |
| Fail | Wrapper for the fail method. |
| FailResponse | Wrapper for the fail web service method return value. |
| Logo | Example of a class that is convertible from String. |
| ObjectFactory | This object contains factory methods for each Java content interface and Java element interface generated in the test package. |
| Signal | Wrapper for the signal method. |
| StandAloneEndpoint | Stand-alone test endpoint. |
| TestImpl | Test service implementation. |
| TestRest | Client for showing how to use the web services with REST. |
| TestSoap | SOAP client. |
This is a simple test web service for the soaprest framework.
The following are the classes that must be developed:
| Class | Generated class? | Description |
|---|---|---|
| TestImpl | no | Implementation of the Test Service. |
| Logo | Example of a class that is convertible from String. | |
| DualEndpoint | Provider that can be deployed either stand-alone or in a container. | |
| StandAloneEndpoint | Provider that can only be deployed stand-alone. | |
| TestRest | Example of a client using REST. | |
| TestSoap | Example of a client using SOAP. | |
| TestInterface | yes | SEI of the Test Service. Used by the clients; not used by the implementation. |
| Deploy | Request class for the deploy operation. | |
| DeployResponse | Response class for the deploy operation. | |
| Fail | Request class for the fail operation. | |
| FailResponse | Response class for the fail operation. | |
| Signal | Request class for the signal operation. | |
| SignalResponse | Response class for the signal operation. | |
| package-info | Annotations at the package level. | |
| ObjectFactory | Factory for constructing request and response objects. | |
| Adapter1 | Adapter for the Logo class. |
The following are other files that are necessary for soaprest:
| File | Description |
|---|---|
| javax.servlet.jar | Java servlet functionality |
| TestService.wsdl | The WSDL document. This could have been generated by wsgen, but it was developed manually so that it properly specifies the Logo class. Another issue is that the deploy method of TestImpl throws Exception but the deploy operation should not have a fault specification. |
| TestSchema.xsd | The Schema document. This also could have been generated by wsgen, but it was developed manually to add documentation and to make some changes in the type mappings. |
| web.xml | This is the deployment specification for deploying the test web service in glassfish. It should work for other containers, but this has not been checked. |
Copyright (c) 2012 Ken Baclawski. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY KEN BACLAWSKI ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KEN BACLAWSKI OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The views and conclusions contained in the software and documentation are those of the author and should not be interpreted as representing official policies, either expressed or implied, of Ken Baclawski.
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||