Custom Bindings JAX-RPC does not support all schema types b Unsupported types can be mapped to literal XML elements epresented as soAP elements b This works well for data-centric applications, but not very well for type-centric applications b Users may want to map schemas to custom or legacy Java types A new CustomBinder interface is provided to be implemented by the binding provider b A CustomBinder deals with a particular pair of XML schema type b 2 primary methods: Serialize and Deserialize IBM Software Group I Web Sphere software Custom Bindings: EXample JAX-RPC binds XML data to specific Java type b Certain designs may want to override this automatic Custom Bindings allow the developer to choose the mapping The SoAP message must use the Literal style Document/Literal or rPc/Literal ava to XML Request XML to Java Mapping Mapping SOAP Providet XML to Java Java to X Mapping Mapping Response WebSphere Applicatron Server v66 IBM Software Group | WebSphere software WebSphere Application Server v6 11 Custom Bindings JAX-RPC does not support all schema types Unsupported types can be mapped to literal XML elements represented as SOAP elements This works well for data-centric applications, but not very well for type-centric applications Users may want to map schemas to custom or legacy Java types A new CustomBinder interface is provided to be implemented by the binding provider A CustomBinder deals with a particular pair of XML schema type and Java type 2 primary methods; Serialize and Deserialize IBM Software Group | WebSphere software WebSphere Application Server v6 12 Custom Bindings: Example JAX-RPC binds XML data to specific Java types Certain designs may want to override this automatic choice Custom Bindings allow the developer to choose the mapping rules The SOAP message must use the Literal style Document/Literal or RPC/Literal Provider JAX-RPC Client Java to XML Mapping XML to Java Mapping XML to Java Mapping Java to XML Mapping Request Response SOAP Messages 1 2 4 3 Custom Binding Custom Binding