Quantcast
Viewing all articles
Browse latest Browse all 21760

Re: Send data complext to Net Webservice

With the understanding that array means an associative array in this case, then the variable param.emissionRequest.agente is a struct of a struct of a struct. That is, an array of an array of an array.

 

That is 3-deep. Perhaps one layer too deep. You originally wanted an array of an array. So, what happens when you call the service with

 

<cfset emissionRequest = {}>

<cfset emissionRequest.codSuc = "30">

<cfset emissionRequest.producto = "200">

<cfset emissionRequest.poliza = {}>

<cfset emissionRequest.poliza.codTipoPoliza = "2">

<cfset emissionRequest.poliza.ramoComercial = "5">  

<cfset emissionRequest.agente = {}>

<cfset emissionRequest.agente.ramoTecnico = "10">

<cfset emissionRequest.agente.codTipoAgente = "15">


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>