List of Examples

1.1. Simple SEI
1.2. Simple Implementation Class
1.3. Interface with the @WebService Annotation
1.4. Annotated Service Implementation Class
1.5. Specifying a Document Bare SOAP Binding with the SOAP Binding Annotation
1.6. SEI with Annotated Methods
1.7. Fully Annotated SEI
1.8. Calling the WSDL Generator from Ant
1.9. Generated WSDL from an SEI
2.1. Service create() Methods
2.2. Creating a Service Object
2.3. The addPort() Method
2.4. Adding a Port to a Service Object
2.5. The getPort() Method
2.6. Getting a Service Proxy
2.7. Consumer Implemented without a WSDL Contract
3.1. HelloWorld WSDL Contract
4.1. Generating Service Starting Point Code from Ant
4.2. Implementation of the Greeter Service
5.1. Generating Service Starting Point Code from Ant
5.2. Outline of a Generated Service Class
5.3. The Greeter Service Endpoint Interface
5.4. Consumer Implementation Code
6.1. Configuration for a Proxy to be Injected into a Service Implementation
6.2. Injecting a Proxy into a Service Implementation
6.3. ServiceContractResolver Interface
6.4. Registering a Contract Resolver
6.5. Service Contract Resolver that can be Registered Using Configuration
6.6. Bean Configuring a Contract Resolver
7.1. Throwing a SOAP Protocol Exception
7.2. Getting the Fault from a SOAP Protocol Exception
9.1. Method for Stopping a Published Endpoint
9.2. Generated Server Mainline
9.3. Custom Server Mainline
9.4. Bundle Activator Interface
9.5. Bundle Activator Start Method for Publishing an Endpoint
9.6. Bundle Activator Stop Method for Stopping an Endpoint
9.7. Bundle Activator Manifest Entry
10.1. Example of a Schema that Includes Another Schema
10.2. Example of an Included Schema
10.3. Example of a Schema that Includes Another Schema
10.4. Example of an Included Schema
10.5. Complex Type Object Factory Entry
10.6. Element Object Factory Entry
10.7. Syntax for Adding Classes to the JAXB Context
10.8. Adding Classes to the JAXB Context
11.1. Simple XML Schema Element Definition
11.2. XML Schema Element Definition with an In-Line Type
11.3. Object Factory Method for a Globally Scoped Element
11.4. Object Factory for a Simple Element
11.5. Using a Globally Scoped Element
11.6. WSDL Using an Element as a Message Part
11.7. Java Method Using a Global Element as a Part
11.8. XML Schema Element with a Default Value
11.9. Object Factory Method for an Element with a Default Value
12.1. Simple Type Syntax
12.2. Postal Code Simple Type
12.3. Credit Request with Simple Types
12.4. Service Provider Configured to Use Schema Validation
12.5. XML Schema Defined Enumeration
12.6. Generated Enumerated Type for a String Bases XML Schema Enumeration
12.7. List Type Example
12.8. Syntax for XML Schema List Types
12.9. Definition of a List Type
12.10. Alternate Syntax for List Types
12.11. WSDL with a List Type Message Part
12.12. Java Method with a List Type Parameter
12.13. Simple Union Type
12.14. Union with an Anonymous Member Type
13.1. XML Schema Complex Type
13.2. Mapping of an All Complex Type
13.3. Mapping of a Choice Complex Type
13.4. Mapping of a Sequence Complex Type
13.5. XML Schema Defining and Attribute
13.6. Attribute with an In-Line Data Description
13.7. Attribute Group Definition
13.8. Complex Type with an Attribute Group
13.9. techDoc Description
13.10. techDoc Java Class
13.11. dvdType Java Class
13.12. Deriving a Complex Type from a Simple Type by Extension
13.13. Deriving a Complex Type from a Simple Type by Restriction
13.14. idType Java Class
13.15. Deriving a Complex Type by Extension
13.16. Defining a Complex Type by Restriction
13.17. WidgetOrderBillInfo
13.18. Choice Occurrence Constraints
13.19. Java Representation of Choice Structure with an Occurrence Constraint
13.20. Sequence with Occurrence Constraints
13.21. Java Representation of Sequence with an Occurrence Constraint
13.22. XML Schema Model Group
13.23. Complex Type with a Model Group
13.24. Instance of a Type with a Model Group
13.25. Type with a Group
14.1. XML Schema Type Defined with an Any Element
14.2. XML Document with an Any Element
14.3. Complex Type Defined with an Any Element
14.4. Java Class with an Any Element
14.5. Complex Type with a Wild Card Element
14.6. Java Representation of a Wild Card Element
14.7. Complex Type with an Undeclared Attribute
14.8. Examples of Elements Defined with a Wild Card Attribute
14.9. Class for a Complex Type with an Undeclared Attribute
14.10. Working with Undeclared Attributes
15.1. Using a Substitution Group
15.2. Substitution Group with Complex Types
15.3. XML Document using a Substitution Group
15.4. Abstract Head Definition
15.5. Object Factory Method for a Substitution Group
15.6. WSDL Interface Using a Substitution Group
15.7. Generated Interface Using a Substitution Group
15.8. Complex Type Using a Substitution Group
15.9. Java Class for a Complex Type Using a Substitution Group
15.10. Setting a Member of a Substitution Group
15.11. Getting the Value of a Member of the Substitution Group
15.12. Widget Ordering Interface
15.13. Widget Ordering SEI
15.14. Consumer Invoking checkWidgets()
15.15. Service Implementation of checkWidgets()
15.16. Setting a Substitution Group Member
15.17. Implementation of placeWidgetOrder()
16.1. JAXB Customization Namespace
16.2. Specifying the JAXB Customization Version
16.3. Customized XML Schema
16.4. JAXB External Binding Declaration Syntax
16.5. XML Schema File
16.6. External Binding Declaration
16.7. Global Primitive Type Customization
16.8. Binding File for Customizing a Simple Type
16.9. Binding File for Customizing an Element in a Complex Type
16.10. JAXB Adapter Class
16.11. Customized Object Factory Method for a Global Element
16.12. Customized Complex Type
16.13. in-Line Customization to Force Generation of Java Classes for SimpleTypes
16.14. Binding File to Force Generation of Constants
16.15. Simple Type for Customized Mapping
16.16. Customized Mapping of a Simple Type
16.17. Customization to Force Type Safe Member Names
16.18. In-line Customization of an Enumerated Type
16.19. In-line Customization of an Enumerated Type Using a Combined Mapping
16.20. Binding File for Customizing an Enumeration
16.21. in-Line Customization to Force Generation of Constants
16.22. Binding File to Force Generation of Constants
16.23. In-Line Customization to Force Generation of Constants
16.24. Binding File to Force Generation of Constants
16.25. Mapping of a Fixed Value Attribute to a Java Constant
16.26. Fixed Value Attribute Mapped to a Java Constant
16.27. In-Line Customization of a Base Type
16.28. External Binding File to Customize a Base Type
16.29. Java Class with a Modified Base Class
17.1. Getting a JAXB Context Using Classes
17.2. Getting a JAXB Context Using Classes
18.1. WSDL Contract for Asynchronous Example
18.2. Template for an Asynchronous Binding Declaration
18.3. WSDL with Embedded Binding Declaration for Asynchronous Mapping
18.4. Service Endpoint Interface with Methods for Asynchronous Invocations
18.5. Non-Blocking Polling Approach for an Asynchronous Operation Call
18.6. Blocking Polling Approach for an Asynchronous Operation Call
18.7. The javax.xml.ws.AsyncHandler Interface
18.8. Callback Implementation Class
18.9. Callback Approach for an Asynchronous Operation Call
18.10. Catching an Exception using the Polling Approach
19.1. The createDispatch() Method
19.2. Creating a Dispatch Object
19.3. The Dispatch.invoke() Method
19.4. Making a Synchronous Invocation Using a Dispatch Object
19.5. The Dispatch.invokeAsync() Method for Polling
19.6. The Dispatch.invokeAsync() Method Using a Callback
19.7. The Dispatch.invokeOneWay() Method
19.8. Making a One Way Invocation Using a Dispatch Object
19.9. Specifying that a Provider Implementation Uses Message Mode
19.10. Specifying that a Provider Implementation Uses Payload Mode
19.11. Provider<SOAPMessage> Implementation
19.12. Provider<DOMSource> Implementation
20.1. The MessageContext.setScope() Method
20.2. Obtaining a Context Object in a Service Implementation
20.3. The MessageContext.get() Method
20.4. Getting a Property from a Service's Message Context
20.5. The MessageContext.put() Method
20.6. Setting a Property in a Service's Message Context
20.7. The getRequestContext() Method
20.8. The getResponseContext() Method
20.9. Getting a Consumer's Request Context
20.10. Reading a Response Context Property
20.11. Setting a Request Context Property
20.12. Getting JMS Message Headers in a Service Implementation
20.13. Getting the JMS Headers from a Consumer Response Header
20.14. Reading the JMS Header Properties
20.15. Setting JMS Properties using the Request Context
21.1. LogicalHandler Synopsis
21.2. Method for Getting the Message Payload in a Logical Handler
21.3. Logical Message Holder
21.4. Getting the Message Body as a JAXB Object
21.5. Updating the Message Body Using a JAXB Object
21.6. Getting the Message's Direction from the SOAP Message Context
21.7. Logical Message Handler Message Processing
21.8. SOAPHandler Synopsis
21.9. The SOAPHander.getHeaders() Method
21.10. The SOAPMessageContext.getHeaders() Method
21.11. Getting the Message's Direction from the SOAP Message Context
21.12. Handling a Message in a SOAP Handler
21.13. Handling a Fault in a Message Handler
21.14. Adding a Handler Chain to a Consumer
21.15. Service Implementation that Loads a Handler Chain
21.16. Handler Configuration File
21.17. Configuring an Endpoint to Use a Handler Chain In Spring