Hi !,
I am new to BTS 2006 R2
When i use String Concatenate Functoid, irrespective of Map and Functoid output is coming same as input.(my input ans output schemas are different). I am using File adapter and PassThruReceive and Transmit pipelines.
can any one please help me to resolve this,
Thanks in advance.
regards,
Revanth
What are you concatenating. post the sample input and output
Thx for ur rply.
i am using folling schema as input
<?xml version="1.0" encoding="utf-16"?><xs:schema xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns="http://Maps_POC2.Schema_POC2in" targetNamespace="http://Maps_POC2.Schema_POC2in" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="College"> <xs:complexType> <xs:sequence> <xs:element name="Branches"> <xs:complexType> <xs:sequence> <xs:element name="ECE" type="xs:string" /> <xs:element name="EEE" type="xs:string" /> <xs:element name="CSE" type="xs:string" /> <xs:element name="IT" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element></xs:schema>
and following schema as output.
<?xml version="1.0" encoding="utf-16"?><xs:schema xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns="http://Maps_POC2.Schema_POC2out" targetNamespace="http://Maps_POC2.Schema_POC2out" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="University"> <xs:complexType> <xs:sequence> <xs:element name="Colge"> <xs:complexType> <xs:sequence> <xs:element name="Goup1" type="xs:string" /> <xs:element name="Group2" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element></xs:schema>
i am concatenating ECE and EEE from source schema to Group1 in destination schema by using String Concatenate Functoid
and mapping CSE and IT from source schema to Group2 in destination schema by using another string concatenate Functoid.
when i give the input xml as following , out put is coming as same as the input.
<College> <Branches> <ECE>ECE_0</ECE> <EEE>EEE_0</EEE> <CSE>CSE_0</CSE> <IT>IT_0</IT> </Branches> </College>
pls help me.
thanks in advance,
That is strange.
How are you testing your map.
Are you right clicking on it, then select Test Map?
Thx Wonder. Exactly........i am right clicking on the map and selecting Testmap. Test map is coming correctly as below
<ns0:University xmlns:ns0="http://Maps_POC2.Schema_POC2out">
Redeploy the Application from Visual Studio and restart the Biztalk service.