08-27-04 11:06 PM
Hi Janne,
Can you get any more specific info on what's going wrong. Check the
application event lo, and see if BizTalk is logging any errors or warnings.
This shuld give you a better idea of where the problem is.
/Alan
"Janne Java" wrote:
> I have a problem calling my own class.
> In expression method call look like this
>
> testMsg = ClassLibHelper.Helper2.ConstructDoc("janne");
> and here is a class
> public class Helper2
> {
> private Helper2() {}
> public static XmlDocument ConstructDoc(string data)
> {
> string rootXML ;
> rootXML ="<Root xmlns=\"http://bzFoo.testSchema\"><Result>" + data +
> "</Result></Root>";
> XmlDocument doc = new System.Xml.XmlDocument();
> doc.LoadXml(rootXML);
> return doc;
> }
> }
> and here is a message type
>
> <?xml version="1.0" encoding="utf-16" ?>
> <xs:schema xmlns="http://bzFoo.testSchema"
> xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
> targetNamespace="http://bzFwActivate.testSchema"
> xmlns:xs="http://www.w3.org/2001/XMLSchema">
> <xs:element name="Root">
> <xs:annotation>
> <xs:appinfo>
> <b:properties xmlns:b="http://schemas.microsoft.com/BizTalk/2003">
> <b:property distinguished="true" xpath="/*[local-name()='Root' and
> namespace-uri()='http://bzFoo.testSchema']/*[local-name()='Result']" /
>
> </b:properties>
> </xs:appinfo>
> </xs:annotation>
> <xs:complexType>
> <xs:sequence>
> <xs:element name="Result" type="xs:string" />
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> </xs:schema>
>
> After calling I try to send it to Port (Transport type = FILE).
> Something goes wrong and I can't get message.
> I have same problem with MethodCall samples ( Biztalk /
> SDK/samples/Orchestrations/methodcall).
>
> OS = Windows 2003 Server enterprise, BizTalk 2004, VS.NET 2003.
>
> Can anyone help me?
>
> Regards
> Janne
[ Post a follow-up to this message ]
|