BizTalk Server Applications Integration - Help on Fact Creators

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Applications Integration > April 2004 > Help on Fact Creators





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Help on Fact Creators
Rich Noons

2004-04-28, 8:36 am

Hi,

I'm trying to implement a fact creator to test a .NET class,

I' think I've made the classes that I use serializable, but when I use the
fact creator but I get an error message saying


"The constructor to deserialize an object of type {namespace}.AnException
was not found".

I pass an xml document that is produced from our software to a dot net
object, so am I right in saying I could also provide a UI where the user
passes through information that populate the fact?

Any help would be useful.

Thanks

Rich

[Serializable]

internal class AnException : ApplicationException, ISerializable

{

public AnException(string Message) : base(Message)

{

.....;

}

public void GetObjectData(SerializationInfo info, StreamingContext context)

{

// TODO: Add .GetObjectData implementation

}

}



[Serializable]

public class DataInfo: ISerializable

{

public DataInfo(XmlDocument XMLData) : base()

{

m_xmlData = XMLData;

}

.....

public void GetObjectData( SerializationInfo info, StreamingContext context)

{

// TODO: Add .GetObjectData implementation

}



}







Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com