Changes between Version 5 and Version 6 of ExampleUsingThirdPartyTypes


Ignore:
Timestamp:
05/22/07 12:20:51 (12 years ago)
Author:
lauer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExampleUsingThirdPartyTypes

    v5 v6  
    22 
    33Eventually, you want to use third party types in your remote calls. Unfortunately the nice annotation features we saw in [wiki:ExampleUsingOwnConceteTypes] and [wiki:ExampleUsingOwnInterfaceTypes] are not applicable here because you are neither allowed to modify the classes nor makes it sense to add an additional dependency to that type.[[BR]] 
    4 The Delight XML-RPC framework offers a solution to this problem by offering conversion mappings to be declared with the API (of course you can add as many mapping you want): 
     4The Delight XML-RPC framework offers a solution to this problem by offering conversion mappings to be declared with the API (of course you can add as many mappings as you want): 
    55 
    66{{{ 
     
    1818Therefor, the converter has to implemente the interface ''!ParameterConverter'' to define three methods: 
    1919 
    20  - getXmlRpcRepresentationType(): states what XML-RPC type will be useed as transport representation 
     20 - getXmlRpcRepresentationType(): states what XML-RPC type will be used as transport representation 
    2121 
    2222 - createFrom(): takes a XML-RPC representation and creates a corresponding instance of type ''URL''.