WCF-Oracle Adapter Error


hi,

error while using wcf_oracle adapter.
a message sent adapter "wcf-oracledb" on send port "send_insertoracledb" uri "oracledb://abc.myuri.com/" suspended. 
 error details: microsoft.servicemodel.channels.common.xmlreaderparsingexception: value field "userid" invalid. ---> system.argumentnullexception: value cannot null.
parameter name: numstr

here, value goes 'userid' null/empty. although 'userid' element has nillable as true and min occurs as 0. in oracle database it's datatype "number".
schema generated "add generated items". i'm not using sp. it's simple insertion schema generated.


have searched , tried many threads found no useful answer. @ places written it's issue adapter. it?

please resolve it. it's urgent.


kunal g

hi kunal,

in fact empty not integer, need make sure sending oracle either null or non existing node

these 2 work :

  • <otherparams /><userid xsi:nil="true" /> <coolotherparams />
  • <otherparams /><coolotherparams /> (no userid tag present)

this doesn't work :

  • <otherparams /><userid /> <coolotherparams /> because if said oracle userid='' not possible because '' not valid int

hope helps

stefan


biztalk consultant in france



BizTalk Server  >  BizTalk Server General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'