WCF-NET TCP Error when processing X12 file


hi ,

is wcf-net tcp adapter processes xml file? trying send x12 message through send port wth passthrough  pipeline and net-tcp configuration, fails invalid root node error: (below)

send port subscribing receive port has pass through on receive file adapter ( don't want edi receive when receiving file - convert xml)

a message sent adapter "wcf-nettcp" on send port "port......._inputpassthru_snd" uri "net.tcp://localhost:808/totemp" suspended.

error details: system.xml.xmlexception: data @ root level invalid. line 1, position 1.

   @ system.xml.xmltextreaderimpl.throw(exception e)

   @ system.xml.xmltextreaderimpl.throw(string res, string arg)

   @ system.xml.xmltextreaderimpl.parserootlevelwhitespace()

   @ system.xml.xmltextreaderimpl.parsedocumentcontent()

the thing is, if you're using wcf net-tcp adapter, receive expecting soap formatted message on tcp.  net-tcp binding 'binary' because there no encoding layer, message still soap.

if need send binary data on tcp, use biztalk tcp/ip adapter codeplex: http://tcpipbz2010.codeplex.com/



BizTalk Server  >  BizTalk Server Adapters and Adapter Pack



Comments

Popular posts from this blog

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

Azure DocumentDB Owner resource does not exist

SQL Server 2008 - High Memory Usage