Home Page › Forums › BizTalk 2004 – BizTalk 2010 › <extensionobjects/> is coming while validating the map
- This topic has 10 replies, 1 voice, and was last updated 9 years, 1 month ago by
community-content.
-
AuthorPosts
-
-
May 31, 2010 at 4:24 AM #24838
Hi All,
Please suggest me as while mapping the schema in the BizTalk mapper and validating the map i am getting only <extensionobjects> as the return instead of schema.
Please help me out where i am doing wrong.
Thanks
Ramjeet
-
May 31, 2010 at 5:02 AM #24839
When validating a map using the BizTalk Mapper the only output is an Xsl file (the compiled map) and an extensionobjects xml file.
The extensionobjects xml file contains references to external .Net assemblies that are called from within the map. If you’re are not using any scripting functoids that reference external assemblies this file is empty.
In the output window of Visual Studio there should be 2 hyperlinks – the first for the Xsl file and second for the extnsionobjects file.
-
May 31, 2010 at 5:09 AM #24841
Hi Greg,
After getting to the second Hyperlink its giving me the <extensionobjects/> only….
I have tested the map and the returned xml is fine as per my requirement then i am not sure what is happening as the final xml that is being dropped to my FILE location is empty when i process through the map.
what i am doing wrong.
Please suggest as error to opening the XML at the file location is “XML document must have top level element”.
Thanks
Ramjeet
-
May 31, 2010 at 5:30 AM #24842
If the map tests OK, then it shoud be correct. One possibility is the message being mapped does not match its schema.
Can you save the actual message to a file and test the map using this file?
Are you using orchestrations or a messaging only solution?
-
May 31, 2010 at 6:07 AM #24845
Hi,
My output schema is as below:
0) fix(e,”cb”);}
if (e.className==”di”){if (e.children(0).innerText.indexOf(“\n”)>0) fix(e,”db”);}
e.id=””;
}
function fix(e,cl){
e.className=cl;
e.style.display=”block”;
j=e.parentElement.children(0);
j.className=”c”;
k=j.children(0);
k.style.visibility=”visible”;
k.href=”#”;
}
function ch(e){
mark=e.children(0).children(0);
if (mark.innerText==”+”){
mark.innerText=”-“;
for (var i=1;i<e.children.length;i++)
e.children(i).style.display="block";
}
else if (mark.innerText=="-"){
mark.innerText="+";
for (var i=1;i</TestCRMServiceResponse>and Input is this one :
0) fix(e,”cb”);}
if (e.className==”di”){if (e.children(0).innerText.indexOf(“\n”)>0) fix(e,”db”);}
e.id=””;
}
function fix(e,cl){
e.className=cl;
e.style.display=”block”;
j=e.parentElement.children(0);
j.className=”c”;
k=j.children(0);
k.style.visibility=”visible”;
k.href=”#”;
}
function ch(e){
mark=e.children(0).children(0);
if (mark.innerText==”+”){
mark.innerText=”-“;
for (var i=1;i<e.children.length;i++)
e.children(i).style.display="block";
}
else if (mark.innerText=="-"){
mark.innerText="+";
for (var i=1;i<ACTION_ID>QueryProfile</ACTION_ID><REQUEST_ID>0012008111700001</REQUEST_ID><returnMsg>Successful</returnMsg><returnCode>0</returnCode></header><ActiveStopDate>2010-08-03</ActiveStopDate><L_PostOffice /><BrandName>AS SUK Pricing Class</BrandName><MSISDN>919127010047</MSISDN><FirstCallDate>2010-04-15 16:45:10</FirstCallDate><Balance>-7640</Balance><UpdateDate>2010-05-05 12:22:19</UpdateDate><AcctResName>Basic Balance</AcctResName><ExpDate>2010-08-03 00:00:00</ExpDate><EffDate>2010-03-25 00:00:00</EffDate><AcctResCode>0</AcctResCode><BallID>1134791</BallID></BalDto></BalDtoList><RefillBlockReason>0</RefillBlockReason><DefLang>1</DefLang><L_Pincode /><Genter /><DisableStopDate>2010-11-01</DisableStopDate><L_State /><CustomerName>919127010047</CustomerName><Salutation /><LastRecharge>0</LastRecharge><IMSI>405881000000051</IMSI><PricePlanCode>400003</PricePlanCode><SIMStatus>A</SIMStatus><SIMSubStatus /><L_LocalAddress /><LastRechargeDate>2010/05/05 12:22:19</LastRechargeDate><L_City_Town_Village /><DOB /><L_District /><ExpDate>2010-08-02 12:22:19</ExpDate><CreatedDate>2010/05/05 12:22:19</CreatedDate><EffDate>2010-05-05 12:22:19</EffDate><PricePlanName>AS Per Sec Plan</PricePlanName><PricePlanIndex>4001</PricePlanIndex></PricePlanDto></PricePlanDtoList></UserProfileDto></body></Data></zsmart></TestCRMServiceResult></TestCRMServiceResponse>-
May 31, 2010 at 6:16 AM #24846
Any chance of posting these xml samples again, try opening the file in notepad so you are cutting and pasting text only. Looks like some problem pasting the Xml.
-
May 31, 2010 at 6:34 AM #24847
Hi,
I am using the BizTalk default mapper in the Transform shape for this.
Thanks
Ramjeet
-
May 31, 2010 at 6:44 AM #24848
Hi ,
Please find the Output as:
<TestCRMServiceResponse xmlns=”http://tempuri.org/”><TestCRMServiceResult><smart xmlns=””><Data><header></header><body><UserProfileDto><MSISDN>919127010047</MSISDN><Balance>-7640</Balance><IMSI>405881000000051</IMSI><SIMStatus>A</SIMStatus></UserProfileDto></body></Data></smart></TestCRMServiceResult></TestCRMServiceResponse>
And the Input xml as :
<TestCRMServiceResponse xmlns=”http://tempuri.org/”><TestCRMServiceResult><smart xmlns=””><Data><header><ACTION_ID>QueryProfile</ACTION_ID><REQUEST_ID>0012008111700001</REQUEST_ID><returnMsg>Successful</returnMsg><returnCode>0</returnCode></header><body><UserProfileDto><ActiveStopDate>2010-08-03</ActiveStopDate><L_PostOffice></L_PostOffice><BrandName>AS SUK Pricing Class</BrandName><MSISDN>919127010047</MSISDN><FirstCallDate>2010-04-15 16:45:10</FirstCallDate><BalDtoList><BalDto><Balance>-7640</Balance><UpdateDate>2010-05-05 12:22:19</UpdateDate><AcctResName>Basic Balance</AcctResName><ExpDate>2010-08-03 00:00:00</ExpDate><EffDate>2010-03-25 00:00:00</EffDate><AcctResCode>0</AcctResCode><BallID>1134791</BallID></BalDto></BalDtoList><RefillBlockReason>0</RefillBlockReason><DefLang>1</DefLang><L_Pincode></L_Pincode><Genter></Genter><DisableStopDate>2010-11-01</DisableStopDate><L_State></L_State><CustomerName>919127010047</CustomerName><Salutation></Salutation><LastRecharge>0</LastRecharge><IMSI>405881000000051</IMSI><PricePlanCode>400003</PricePlanCode><SIMStatus>A</SIMStatus><SIMSubStatus></SIMSubStatus><L_LocalAddress></L_LocalAddress><LastRechargeDate>2010/05/05 12:22:19</LastRechargeDate><L_City_Town_Village></L_City_Town_Village><DOB></DOB><L_District></L_District><PricePlanDtoList><PricePlanDto><ExpDate>2010-08-02 12:22:19</ExpDate><CreatedDate>2010/05/05 12:22:19</CreatedDate><EffDate>2010-05-05 12:22:19</EffDate><PricePlanName>AS Per Sec Plan</PricePlanName><PricePlanIndex>4001</PricePlanIndex></PricePlanDto></PricePlanDtoList></UserProfileDto></body></Data></smart></TestCRMServiceResult></TestCRMServiceResponse>
-
-
-
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.