Java Doc for MethodMarshaller.java in  » Web-Services-AXIS2 » jax-ws » org » apache » axis2 » jaxws » marshaller » 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 » Web Services AXIS2 » jax ws » org.apache.axis2.jaxws.marshaller 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.axis2.jaxws.marshaller.MethodMarshaller

All known Subclasses:   org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller,  org.apache.axis2.jaxws.marshaller.impl.alt.DocLitBareMethodMarshaller,  org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedPlusMethodMarshaller,  org.apache.axis2.jaxws.marshaller.impl.alt.DocLitBareMinimalMethodMarshaller,  org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMinimalMethodMarshaller,  org.apache.axis2.jaxws.marshaller.impl.alt.RPCLitMethodMarshaller,
MethodMarshaller
public interface MethodMarshaller (Code)
This class marshals and unmarshals method invocations.

Here is the high-level view of marshalling: SIGNATURE_ARGS ---> Type Enabled Object -----> Element Enabled Object ---> MESSAGE (XML)

The Signature objects are the objects from the SEI method signature. They may be values or holders of values. The values are "type enabled objects" (i.e. String), which means that they cannot be marshalled or unmarshalled.
See Also:   org.apache.axis2.jaxws.util.XMLRootElementUtils
See Also:    for details on Type Enabled and Element
See Also:   Enabled objects.
See Also:   


See Also:   The values are enhanced (if necessary) into Element Enabled Objects. These can be
See Also:   marshalled or unmarshalled using JAXB.
See Also:   org.apache.axis2.jaxws.marshaller.impl.alt.PDElement
See Also:   


See Also:   The element enabled objects are put onto the message.
See Also:   


See Also:   The high-level view of unmarshalling is the reverse. SIGNATURE_ARGS <---- Type Enabled
See Also:   Object <----- Element Enabled Object <---- MESSAGE (XML)
See Also:   


See Also:   See the specific MethodMarshaller implementations to see how doc/lit wrapped, doc/lit bare
See Also:   and rpc/lit affect the process of going from SIGNATURE_ARGS to the element enabled objects.
See Also:   


See Also:   If there are any problems, a WebServiceException is thrown. (Each of the methods is
See Also:   guranteed to catch any unchecked exception and wrap it in a WebServiceException).





Method Summary
public  ThrowabledemarshalFaultResponse(Message message, OperationDescription opDesc)
     This method converts a Message (containing a fault) into a JAX-WS Service or WebServiceException.
public  Object[]demarshalRequest(Message message, OperationDescription opDesc)
    
public  ObjectdemarshalResponse(Message message, Object[] signatureArgs, OperationDescription opDesc)
     This method gets the objects from the Message and sets them onto the SIGNATURE_ARGS It also returns the RETURN object.
public  MessagemarshalFaultResponse(Throwable throwable, OperationDescription opDesc, Protocol protocol)
     This method creates a Message from a Throwable input parameter.
public  MessagemarshalRequest(Object[] signatureArgs, OperationDescription opDesc)
     This method converts SIGNATURE_ARGS into a Message.
public  MessagemarshalResponse(Object returnObject, Object[] signatureArgs, OperationDescription opDesc, Protocol protocol)
     This method converts the SIGNATURE_ARGS and RETURN object into a Message.



Method Detail
demarshalFaultResponse
public Throwable demarshalFaultResponse(Message message, OperationDescription opDesc) throws WebServiceException(Code)
This method converts a Message (containing a fault) into a JAX-WS Service or WebServiceException. Used on the client.
Parameters:
  message -
Parameters:
  Message - Throwable



demarshalRequest
public Object[] demarshalRequest(Message message, OperationDescription opDesc) throws WebServiceException(Code)
This method converts the Message into a SIGNATURE_ARGS It is used on the server
Parameters:
  message - signature args



demarshalResponse
public Object demarshalResponse(Message message, Object[] signatureArgs, OperationDescription opDesc) throws WebServiceException(Code)
This method gets the objects from the Message and sets them onto the SIGNATURE_ARGS It also returns the RETURN object. Called on client
Parameters:
  message -
Parameters:
  signatureAgs - (same array of args that were used for marshalRequest. The out/inoutholders are populated with new values)
Parameters:
  OperationDesc - returnObject



marshalFaultResponse
public Message marshalFaultResponse(Throwable throwable, OperationDescription opDesc, Protocol protocol) throws WebServiceException(Code)
This method creates a Message from a Throwable input parameter. Used on the server.
Parameters:
  Throwable -
Parameters:
  OperationDesc -
Parameters:
  Protocol - for response



marshalRequest
public Message marshalRequest(Object[] signatureArgs, OperationDescription opDesc) throws WebServiceException(Code)
This method converts SIGNATURE_ARGS into a Message. It is used on the client
Parameters:
  signatureArgs - Message



marshalResponse
public Message marshalResponse(Object returnObject, Object[] signatureArgs, OperationDescription opDesc, Protocol protocol) throws WebServiceException(Code)
This method converts the SIGNATURE_ARGS and RETURN object into a Message. It is used on the server
Parameters:
  returnObject -
Parameters:
  signatureArgs -
Parameters:
  OperationDesc -
Parameters:
  Protocol - for response Message



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.