Package test

This is a simple test web service for the 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.
 

Package test Description

This is a simple test web service for the soaprest framework. The following are the classes that must be developed:

ClassGenerated class?Description
TestImplnoImplementation of the Test Service.
LogoExample of a class that is convertible from String.
DualEndpointProvider that can be deployed either stand-alone or in a container.
StandAloneEndpointProvider that can only be deployed stand-alone.
TestRestExample of a client using REST.
TestSoapExample of a client using SOAP.
TestInterfaceyesSEI of the Test Service. Used by the clients; not used by the implementation.
DeployRequest class for the deploy operation.
DeployResponseResponse class for the deploy operation.
FailRequest class for the fail operation.
FailResponseResponse class for the fail operation.
SignalRequest class for the signal operation.
SignalResponseResponse class for the signal operation.
package-infoAnnotations at the package level.
ObjectFactoryFactory for constructing request and response objects.
Adapter1Adapter for the Logo class.

The following are other files that are necessary for soaprest:

FileDescription
javax.servlet.jarJava 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.xmlThis 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:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

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.