Giter VIP home page Giter VIP logo

biztalk.factory's People

Contributors

dependabot[bot] avatar icraftsoftware avatar ydie22 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

pauwelz

biztalk.factory's Issues

System.ArgumentNullException in TransformFixtureXmlResult.SelectSingleNode

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 !

MessageType is not updated after a XmlTranslator

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);
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.