icraftsoftware / biztalk.factory Goto Github PK
View Code? Open in Web Editor NEWLibrary to strengthen and speed up the development of BizTalk Server applications
License: Apache License 2.0
Library to strengthen and speed up the development of BizTalk Server applications
License: Apache License 2.0
We get a System.ArgumentNullException in TransformFixtureXmlResult.SelectSingleNode when decoratedNavigator contains namespace prefix and nothing match.
Exemple:
var navigator = result.SelectSingleNode("/ab:Config/ab:Section/ab:Setting");
if (navigator==null)
{ ... }
Stack
System.ArgumentNullException was unhandled by user code
HResult=-2147467261
Message=Value cannot be null.
Parameter name: decoratedNavigator
Source=Be.Stateless.BizTalk.Unit
ParamName=decoratedNavigator
StackTrace:
at Be.Stateless.BizTalk.Xml.XPathNavigatorDecorator..ctor(XPathNavigator decoratedNavigator) in c:\Files\Projects\be.stateless\BizTalk.Factory\src\BizTalk.Unit\Xml\XPathNavigatorDecorator.cs:line 31
at Be.Stateless.BizTalk.Unit.Transform.TransformFixtureXmlResult..ctor(XPathNavigator decoratedNavigator, XmlNamespaceManager xmlNamespaceManager) in c:\Files\Projects\be.stateless\BizTalk.Factory\src\BizTalk.Unit\Unit\Transform\TransformFixtureXmlResult.cs:line 31
at Be.Stateless.BizTalk.Unit.Transform.TransformFixtureXmlResult.CreateXPathNavigatorDecorator(XPathNavigator decoratedNavigator) in c:\Files\Projects\be.stateless\BizTalk.Factory\src\BizTalk.Unit\Unit\Transform\TransformFixtureXmlResult.cs:line 89
at Be.Stateless.BizTalk.Xml.XPathNavigatorDecorator.SelectSingleNode(String xpath, IXmlNamespaceResolver resolver) in c:\Files\Projects\be.stateless\BizTalk.Factory\src\BizTalk.Unit\Xml\XPathNavigatorDecorator.cs:line 226
at Be.Stateless.BizTalk.Unit.Transform.TransformFixtureXmlResult.SelectSingleNode(String xpath) in c:\Files\Projects\be.stateless\BizTalk.Factory\src\BizTalk.Unit\Unit\Transform\TransformFixtureXmlResult.cs:line 80
at ...
InnerException:
Package: BizTalk.Factory 1.0.19308.32846
Namespace: Be.Stateless.BizTalk.Unit.Transform
Class: TransformFixtureXmlResult
Method: SelectSingleNode
Thank you for the support !
Given a micro-pipeline component when a XML translator is added the message type is not updated.
Sample configuration:
public class SendPort : SendPort<NamingConvention>
{
public SendPort()
{
Name = SendPortName.Towards("Party").About("Any").FormattedAs.Xml;
SendPipeline = new SendPipeline<XmlTransmit>(
pipeline => {
pipeline.PreAssembler<MicroPipelineComponent>(
microComponent => {
microComponent.Components = new IMicroPipelineComponent[] { new XmlTranslator() };
});
});
Transport.Adapter = new FileAdapter.Outbound(adapter => { adapter.DestinationFolder = FOLDER; });
Transport.RetryPolicy = RetryPolicy.LongRunning;
Transport.Host = CommonSettings.B2BTransmitHost;
State = ServiceState.Started;
}
public static readonly string FOLDER = Path.Combine(@"C:\Files\Drops\", typeof(SendPort).Name);
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.