正在加载图片...
Generic SoAP Elements Custom Bindings allows for the specified JAX-RPC bindings to be extended or changed Certain designs may prefer to eliminate the binding completely b Support for generic SoAP elements gives the developer the ability to disable the normal deserialization process b Improves performance of Services that do not require their XML bound to Java type Normal binding public Bean echo(Bean bean) Generic bir public SoAPElement echo(soAPElement bean) IBM Software Group I Web Sphere software Generic SOAP Elements: Example WSDL2Java contains a new option - Binding b Disables normal deserialization, instead all objects will be returned bound to the sAAj SoAPElement APl The SAAJ API will provide a new method for accessing the xml string that represents the SoAPElement tree b Public final String toXMLString(-.) SoapElement XML Data Deserialization <b>Hello</b> <b>Hello</b> <c>Word</c> <c>Worid </c WebSphere Applicatron7 IBM Software Group | WebSphere software WebSphere Application Server v6 13 Generic SOAP Elements ƒ Custom Bindings allows for the specified JAX-RPC bindings to be extended or changed ƒ Certain designs may prefer to eliminate the binding completely Support for generic SOAP elements gives the developer the ability to disable the normal deserialization process Improves performance of Services that do not require their XML bound to Java types ƒ Normal binding: public Bean echo(Bean bean); ƒ Generic binding: public SOAPElement echo(SOAPElement bean); IBM Software Group | WebSphere software WebSphere Application Server v6 14 SoapElement Generic SOAP Elements: Example ƒ WSDL2Java contains a new option –noDataBinding Disables normal deserialization, instead all objects will be returned bound to the SAAJ SOAPElement API ƒ The SAAJ API will provide a new method for accessing the xml string that represents the SOAPElement tree Public final String toXMLString(…) <a> <b>Hello</b> <c>World</c> </a> <a> <b>Hello</b> <c>World</c> </a> XML Data Deserialization
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有