动态发送端口 - BizTalk

时间:2014-12-18 01:12:33

标签: c# wcf biztalk

Saludos,

我试图在业务流程中构建动态发送端口,但我发现以下错误

  

"该物业" OutboundTransportLocation"有一个长度值   大于256个字符"

MessageOut = MessageIn;
jsonMessage = {"id":0,"original":"1","tipoId":"610","comments":"BizTalk","privadoNotes":null,"PriodidadyValue":null,"cityId":"1","streetNum":null,"streetId":"0","crossStreetId":"0","latitude":"0","longitude":"0"}
InitialUri = System.String.Format("http://ThisIsaURLTheRealOneAndBig.com/someplace/api/v1/requests/add/?key=5dd5d45d4sdd54dds5s54s5s45s4s5s4s545s4swws&request={0}", jsonMessage);
System.Diagnostics.EventLog.WriteEntry("Orchestration Debug", System.String.Format("The Value = {0}", InitialUri));
MessageOut(WCF.BindingType)="WsHttpBinding";
DynamicsTOSend(Microsoft.XLANGs.BaseTypes.Address) = InitialUri; //this URI Finally is bigger than 256
DynamicsTOsend(Microsoft.XLANGs.BaseTypes.TransportType) = "HTTP"; 

请知道吗?

2 个答案:

答案 0 :(得分:1)

没关系,可以使用WCF-WebHttp作为Biztalk 2013中的传输类型。

http://www.codit.eu/blog/2014/06/24/what%E2%80%99s-new-in-biztalk-2013-r2-wcf-webhttp-adapter/

答案 1 :(得分:1)

问题似乎是对256个字符的提升属性的限制