Samples (original) (raw)

Sample Description
docs jax-ws-ri-overview, this file
asyncservice Demonstrates JAX-WS RI specific endpoint to achieve server side asynchrony. This sample requires Servlet 3.0 API supported container like Glassfish 3.0.
wsimport_clientjar Demonstrates use of-clientjar option ofwsimport.
optional_webxml Demonstrates the simplified deployment of web services using JAX-WS RI deployment by not requiring the configuration of web.xml.
fromwsdl-wsaddressing-policy Starting from WSDL shows how to develop a WS-Addressing enabled endpoint using standardized Addressing Metadata support.
fromjava-wsaddressing Starting from Java endpoint how to develop W3C WS-Addressing endpoint.
fromwsdl-wsaddressing Starting from WSDL shows how to develop a WS-Addressing endpoint using WS-Addressing WSDL Binding. This sample uses non-standard wsdl extension, also see standards basedfromwsdl-wsaddressing-policy sample.
fromjava Demonstrates how to build, deploy, and invoke a simple Web service starting from a Java service endpoint implementation using annotations.
fromjavahandler Same as fromjava sample but with a simple logging handler on the client and server.
fromwsdl Demonstrates how to build, deploy, and invoke a simple Web service starting from a WSDL using external customizations.
fromwsdl_secure Same as fromwsdl sample but demonstrates how to build, deploy, and invoke an HTTPS Web service and client from a WSDL.
fromwsdlhandler Same as fromwsdl sample but with a simple logging handler on the client and server.
dispatch Demonstrates how to dynamically invoke web service endpoints.
provider Demonstrates how to build, deploy, and invoke javax.xml.ws.Provider based Web service endpoint.
asyncprovider Demonstrates how to build, deploy, and invoke a server side asynchronousProvider based Web service endpoint.
annotations Same as fromjava but shows how to specify a different parameter name, operation name, targetNamespace, and other similar features.
async Demonstrates how to generate async operations in a client SEI from a WSDL and invoke it from the client application.
efficient-handler Demonstrates efficient handler usingcom.sun.xml.ws.api.handler.MessageHandler, which is an efficient protocol handler.
external-customize Demonstrates how a client client application can customize a published WSDL using external binding file.
external-metadata-fromjava Demonstrates how to develop web service without using java annotations - metadata are being provided with xml descriptors. This allows to expose as a web service already deployed implementations. This sample uses fromjava (better to say from java binary) approach.
external-metadata-fromwsdl Demonstrates how to develop web service without using java annotations - metadata are being provided with xml descriptors. This allows to expose as a web service already deployed implementations. This sample uses fromwsdl approach.
inline-customize Demonstrates how a client application and server endpoint can be generated from a WSDL with embedded binding declarations.
mtom Demonstrates how to enable MTOM and swaRef.
mtom-large Demonstrates how to transfer large attachments in streaming fashion using MTOM.
mtom-soap12 Same as mtom sample but shows how to specify SOAP 1.2 binding.
fromjava-soap12 Same as fromjava sample but shows how to specify SOAP 1.2 binding.
fromwsdl-soap12 Same as fromwsdl sample but shows how to specify SOAP 1.2 binding.
supplychain Same as fromjava sample but using JavaBeans as parameter and return types. Also the service can be built and deployed using Endpoint API.
mime Demonstrates how a MIME binding is defined in the WSDL to sendwsdl:part as MIME attachments. This requires that the development model is 'starting from WSDL'.
mime-large Demonstrates how to transfer large attachment in streaming fashion usingwsi:swaref.
wsimport_catalog Demonstrates a how a WSDL and schema URI's can be resolved using catalog mechanism usingwsimport ant tasks' catalog attribute and also using ant's core typexmlcatalog.
catalog Shows the catalog capability on the client side; Catalog is used every time the implementation tries to access a resource identified by URI that is believed to contain either a WSDL document or any other document on which it depends .
restful Shows an example of a REST Web Service implemented as a JAX-WS 2.0Provider and accessed via a JAX-WSDispatch client. TheRequest uses an HTTPGET Request Method and uses the JAX-WS MessageContext propertiesPATH_INFO andQUERY_STRING.
stateful This sample shows the JAX-WS RI's stateful webservice support feature.
schema_validation This sample demonstrates JAX-WS RI's validation feature that validates the incoming/outgoing messages are as per schema.
dual-binding This sample demonstrates the JAX-WS RI's featuer to expose the same service class under SOAP/HTTP and XML/HTTP binding.
large_upload This sample demonstrates uploading a large file to the server.
type_substitution This sample demonstrates type substitution and sending java types that are not directly referenced by the WSDL.
xmlbind_datasource This sample demonstrates a REST based webservices using XML/HTTP binding along withProvider/Dispatch.