Data Structure
i need creat data structure pass wsdl function. 3 of 5 fields needs set null, can 1 please help. have far. problem tried set "", when running cfmx give me error of "string index out of range: 0 ". if set variables " "(with space in between) function works, not recognize null value on it's end
<cfset profile = structnew()>
<cfset profile.userid = "username" />
<cfset profile.password = "password" />
<cfset profile.batchid = " " />
<cfset profile.sessionid = " " />
<cfset profile.errorcode = " " />
<cfset profile = structnew()>
<cfset profile.userid = "username" />
<cfset profile.password = "password" />
<cfset profile.batchid = " " />
<cfset profile.sessionid = " " />
<cfset profile.errorcode = " " />
do have control on wsdl method itself? if so, that'd better place @ converting empty string null value on insert (assuming it's doing sql insert).
or maybe this:
http://www.petefreitag.com/item/524.cfm ?
or maybe this:
http://www.petefreitag.com/item/524.cfm ?
More discussions in Advanced Techniques
adobe
Comments
Post a Comment