Source Code Cross Referenced for SOAPMessageContext.java in  » 6.0-JDK-Modules » jax-ws-api » javax » xml » ws » handler » 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.handler.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.handler.soap;
07:
08:        import javax.xml.soap.SOAPMessage;
09:        import javax.xml.bind.JAXBContext;
10:        import javax.xml.namespace.QName;
11:        import java.util.Set;
12:
13:        /** The interface <code>SOAPMessageContext</code> 
14:         *  provides access to the SOAP message for either RPC request or 
15:         *  response. The <code>javax.xml.soap.SOAPMessage</code> specifies
16:         *  the standard Java API for the representation of a SOAP 1.1 message
17:         *  with attachments.
18:         *
19:         *  @see javax.xml.soap.SOAPMessage
20:         * 
21:         *  @since JAX-WS 2.0
22:         **/
23:        public interface SOAPMessageContext extends
24:                javax.xml.ws.handler.MessageContext {
25:
26:            /** Gets the <code>SOAPMessage<code> from this message context. Modifications
27:             *  to the returned <code>SOAPMessage</code> change the message in-place, there
28:             *  is no need to susequently call <code>setMessage</code>.
29:             *
30:             *  @return Returns the <code>SOAPMessage</code>; returns <code>null</code> if no 
31:             *          <code>SOAPMessage</code> is present in this message context
32:             **/
33:            public SOAPMessage getMessage();
34:
35:            /** Sets the SOAPMessage in this message context
36:             *
37:             *  @param  message SOAP message
38:             *  @throws WebServiceException If any error during the setting
39:             *          of the <code>SOAPMessage</code> in this message context
40:             *  @throws java.lang.UnsupportedOperationException If this
41:             *          operation is not supported
42:             **/
43:            public void setMessage(SOAPMessage message);
44:
45:            /** Gets headers that have a particular qualified name from the message in the
46:             *  message context. Note that a SOAP message can contain multiple headers
47:             *  with the same qualified name.
48:             *
49:             *  @param  header The XML qualified name of the SOAP header(s).
50:             *  @param  context The JAXBContext that should be used to unmarshall the 
51:             *          header
52:             *  @param  allRoles If <code>true</code> then returns headers for all SOAP
53:             *          roles, if <code>false</code> then only returns headers targetted
54:             *          at the roles currently being played by this SOAP node, see
55:             *          <code>getRoles</code>.
56:             *  @return An array of unmarshalled headers; returns an empty array if no 
57:             *          message is present in this message context or no headers match
58:             *          the supplied qualified name.
59:             *  @throws WebServiceException If an error occurs when using the supplied
60:             *     <code>JAXBContext</code> to unmarshall. The cause of
61:             *     the <code>WebServiceException</code> is the original <code>JAXBException</code>.
62:             **/
63:            public Object[] getHeaders(QName header, JAXBContext context,
64:                    boolean allRoles);
65:
66:            /** Gets the SOAP actor roles associated with an execution
67:             *  of the handler chain.
68:             *  Note that SOAP actor roles apply to the SOAP node and
69:             *  are managed using {@link javax.xml.ws.soap.SOAPBinding#setRoles} and
70:             *  {@link javax.xml.ws.soap.SOAPBinding#getRoles}. <code>Handler</code> instances in
71:             *  the handler chain use this information about the SOAP actor
72:             *  roles to process the SOAP header blocks. Note that the
73:             *  SOAP actor roles are invariant during the processing of
74:             *  SOAP message through the handler chain.
75:             *
76:             *  @return Array of <code>String</code> for SOAP actor roles
77:             **/
78:            public Set<String> getRoles();
79:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.