You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by tomek01 <to...@akcja.pl> on 2008/05/07 15:58:38 UTC

Re: embedding a string into structure XML RPC request

HI Fahad,
could you show us your string TAG problem solution?

BR.
Tomek

fahad.aizaz wrote:
> 
> Hi Jochen,
> 
> I have solved that string TAG problem and now all my structures containing
> the the string values are represented by <string> TAG. I also have
> modified my client to use a different Date format.
> 
> The method you have posted on the below link under the custom data types:
> http://ws.apache.org/xmlrpc/advanced.html
> 
> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> 
> public TypeParser getParser(XmlRpcStreamConfig pConfig,
> NamespaceContextImpl pContext, String pURI, String pLocalName) {
>             if (DateSerializer.DATE_TAG.equals(pLocalName)) {
>                 return new DateParser(pFormat);
>             } else {
>                 return super.getParser(pConfig, pContext, pURI,
> pLocalName);
>             }
>         }
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> 
> I am unable to understand what this method is used for. And the variable
> 'pFormat' what exactly is this.
> 
> I understand that 
> private DateFormat newFormat();
> created the custom format and 
> public TypeSerializer getSerializer();
> is the serializer for the newFormat()
> 
> Is there any documentation available that describes the fucntionality of
> these classes.
> 
> regards,
> 
> Fahad 
> 

-- 
View this message in context: http://www.nabble.com/embedding-a-string-into-structure-XML-RPC-request-tp16001079p17105606.html
Sent from the Apache Xml-RPC - Dev mailing list archive at Nabble.com.