Source Code Cross Referenced for Addressing.java in  » 6.0-JDK-Modules » jax-ws-api » javax » xml » ws » soap » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » jax ws api » javax.xml.ws.soap 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
03:         * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
04:         */
05:
06:        package javax.xml.ws.soap;
07:
08:        import java.lang.annotation.Documented;
09:        import java.lang.annotation.Target;
10:        import java.lang.annotation.ElementType;
11:        import java.lang.annotation.Retention;
12:        import java.lang.annotation.RetentionPolicy;
13:
14:        import javax.xml.ws.Action;
15:        import javax.xml.ws.BindingProvider;
16:        import javax.xml.ws.FaultAction;
17:        import javax.xml.ws.spi.WebServiceFeatureAnnotation;
18:
19:        /**
20:         * <p>
21:         * This feature represents the use of WS-Addressing with either
22:         * the SOAP 1.1/HTTP or SOAP 1.2/HTTP binding.  Using this feature
23:         * with any other binding is NOT required.
24:         * <p>
25:         * The following describes the effects of this feature with respect
26:         * to be enabled or disabled:
27:         * <ul>
28:         *  <li> ENABLED: In this Mode, WS-Addressing will be enabled.
29:         *       At runtime, WS-Addressing headers
30:         *       MUST be consumed by the receiver and produced by the
31:         *       sender even if the WSDL declares otherwise. The
32:         *       mustUnderstand="0" attribute MUST be used on the response WS-Addressing
33:         *       headers. 
34:         *  <li> DISABLED: In this Mode, WS-Addressing will be disabled
35:         *       even if an associated WSDL specifies otherwise. At runtime,
36:         *       WS-Addressing headers MUST NOT be used. WS-Addressing may be explicitly
37:         *       disabled to prevent a JAX-WS implementation from consuming and producing
38:         *       WS-Addressing headers. If an application
39:         *       has implemented WS-Addressing itself, it MUST explicitly disable this feature.
40:         *        Not doing so may break compatibility with future versions of JAX-WS.
41:         * </ul>
42:         * <p>
43:         * The <code>required</code> property can be used to
44:         * specify if WS-Addressing headers MUST
45:         * be present on incoming messages.  By default the
46:         * <code>required</code> property is <code>false</code>. 
47:         * <p>
48:         * The definition of this annotation is incomplete in this release of JAX-WS as
49:         * there is no standard way to convey the use of WS-Addressing via a WSDL and there is no
50:         * standard definition for the default value of WS-Addressing <code>Action</code> headers; 
51:         * however, the runtime behavior of this annotation is well-defined. 
52:         * It is intended that a future version of 
53:         * JAX-WS will require the use of the standard mechanism to convey the use
54:         * of WS-Addressing via WSDL and default values for WS-Addressing <code>Action</code> headers
55:         * as defined by the W3C WG on WS-Addressing.  
56:         * <p>
57:         * To write a portable endpoint and its corresponding client with this version of JAX-WS,
58:         * an endpoint MUST explicitly specify what WS-Addressing <code>Actions</code> are to be used 
59:         * via the {@link Action} and {@link FaultAction} annotations.  The client MUST explicitly 
60:         * enable addresssing via the {@link AddressingFeature}, and for each invocation, the client 
61:         * MUST explicitly set the {@link BindingProvider#SOAPACTION_URI_PROPERTY}.
62:         * After the W3C WG on WS-Addressing has specified how the use of WS-Addressing is specified in the WSDL,
63:         * and what the default value must be for Action headers, a future version of JAX-WS will remove these requirements.
64:         * <p>
65:         * See <a href="http://www.w3.org/TR/2006/REC-ws-addr-core-20060509/">Web Services Addressing - Core</a>
66:         * and <a href="http://www.w3.org/TR/2006/REC-ws-addr-soap-20060509/">Web Services Addressing 1.0 - SOAP Binding</a> 
67:         * for more information on WS-Addressing.
68:         * 
69:         * @since JAX-WS 2.1
70:         */
71:        @Target(ElementType.TYPE)
72:        @Retention(RetentionPolicy.RUNTIME)
73:        @Documented
74:        @WebServiceFeatureAnnotation(id=AddressingFeature.ID,bean=AddressingFeature.class)
75:        public @interface Addressing {
76:            /**
77:             * Specifies if this feature is enabled or disabled.
78:             */
79:            boolean enabled() default true;
80:
81:            /**
82:             * Property to determine if WS-Addressing headers MUST
83:             * be present on incoming messages.
84:             */
85:            boolean required() default false;
86:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.