PureConnect

 View Only

Discussion Thread View
  • 1.  Xml for REST question

    Posted 06-22-2015 18:13
    I need help with some REST Webservices I'm trying to use a REST Based Webservice and I need to create the Request structure just like this <ns2:xSolicitudEngine xmlns:ns2="http://epayments.com/engine"> <listaParametro> <nombre>llaveBusqueda</nombre> <llave>llaveBusqueda</llave> <valor xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">8452111</valor> </listaParametro> </ns2:xSolicitudEngine> But when I build it, the result is as follows <ns2:xSolicitudEngine xmlns:ns2="http://epayments.com/engine"> <listaParametro> <nombre>llaveBusqueda</nombre> <llave>llaveBusqueda</llave> <valor>8452111</valor> </listaParametro> </ns2:xSolicitudEngine> So what i need is to put the string or parameters xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string" into the "Valor" node. Can you give some advice or help to do this. Thank you.


  • 2.  RE: Xml for REST question

    Posted 06-22-2015 18:30
    Originally posted by ilya;32236
    I need help with some REST Webservices I'm trying to use a REST Based Webservice and I need to create the Request structure just like this <ns2:xSolicitudEngine xmlns:ns2="http://epayments.com/engine"> <listaParametro> <nombre>llaveBusqueda</nombre> <llave>llaveBusqueda</llave> <valor xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">8452111</valor> </listaParametro> </ns2:xSolicitudEngine> But when I build it, the result is as follows <ns2:xSolicitudEngine xmlns:ns2="http://epayments.com/engine"> <listaParametro> <nombre>llaveBusqueda</nombre> <llave>llaveBusqueda</llave> <valor>8452111</valor> </listaParametro> </ns2:xSolicitudEngine> So what i need is to put the string or parameters xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string" into the "Valor" node. Can you give some advice or help to do this. Thank you.
    You will get more / better response on the developer forum. developer.inin.com Please post this there.


Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources