BizTalk Server General - Custom Pipeline Problem

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > December 2004 > Custom Pipeline Problem





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 Custom Pipeline Problem
Woltore

2004-11-30, 2:46 am

Hi,

I'm trying to make custom pipeline that changes the name of xml tag to
another.
f.e <item></item> --> <Product></Product>

I have added the pipeline to file receive port, but I cant make it accept
my message.
Error is: "This Assembler cannot retrieve document specification by using
this type: namespace of my document"
namespace is the same I have used in my custom component,
so that is not the problem...

Do I need to add the schema file to my pipeline project so that it can
validate incoming file with it? or I'm doing something else wrong?

Thanks in advance!
Woltore

Woltore

2004-11-30, 7:46 am

Ok, My pipeline is now accepting messages,
but I tried to change the node name with
locNode.Name
but it wont work, it says:

"
Property or indexer 'System.Xml.XmlNode.Name' cannot be assigned to -- it
is read only
"

I guess I have to change the node name some other way.
but I have no idea how?

If anyone have idea how to do that, please tell me..

Thanks in advance
Woltore




Greg Forsythe

2004-12-01, 2:47 am

How about a map

Greg

"Woltore" <mdk989@hotmail.com> wrote in message
news:2a337321c621893dd1eaa1615d56108e@lo
calhost.talkaboutsoftware.com...
> Ok, My pipeline is now accepting messages,
> but I tried to change the node name with
> locNode.Name
> but it wont work, it says:
>
> "
> Property or indexer 'System.Xml.XmlNode.Name' cannot be assigned to -- it
> is read only
> "
>
> I guess I have to change the node name some other way.
> but I have no idea how?
>
> If anyone have idea how to do that, please tell me..
>
> Thanks in advance
> Woltore
>
>
>
>



Woltore

2004-12-01, 2:47 am


Yes I know I could do that in map,
but our customer is sending messages to us with element names biztalk wont
accept, so I can't generate schema from their .dtd file (well, generation
works ok, but validation/build generates errors). Which is their standard
message and can't be changed.
So I need to change the name of few tags in receive pipeline before I use
the message in orchestration and then change them back in send pipeline.
But now I'm stuck with this because I dont know how to change the tag
name?

Woltore

David Downing [MSFT]

2004-12-01, 5:51 pm

Can you provide an example of element names that cannot be accepted by
BizTalk?

Thank you,
Dave
--------------------[vbcol=seagreen]
< 32baee076ebf2155af8568c5e8c55ff2@localho
st.talkaboutsoftware.com>[vbcol=seagreen]
< 1a8e6c717259ef5da4333efce6894b5f@localho
st.talkaboutsoftware.com>
< 2a337321c621893dd1eaa1615d56108e@localho
st.talkaboutsoftware.com>
<uobhUC01EHA.1524@TK2MSFTNGP09.phx.gbl>[vbcol=seagreen]
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fas
twebnet.it!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!bo
rder1.nntp.ams.giganews.com!nntp.giganews.com!news-in.ntli.net!newsrout1-win
.ntli.net!ntli.net!sn-xit-02!sn-xit-06!sn-post-02!sn-post-01!supernews.com!c
orp.supernews.com!not-for-mail[vbcol=seagreen]

This posting is provided "AS IS" with no warranties, and confers no rights.

EBusiness Server Team

Woltore

2004-12-02, 7:50 am


Well everything that have "-" mark on elment name
f.e "E-MAIL" I thing its ok if it is in child element.
But if it is root element name then validation generates error.



David Downing [MSFT]

2004-12-02, 5:48 pm

I seem to be able to use the "-" character in the root name, however
element names that start with "-" are not valid. Can you attach the schema
you're referring to?

Thank you,
--
Dave

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------[vbcol=seagreen]
< 55ba1e69a7fcf9d879279755d9f1809c@localho
st.talkaboutsoftware.com>[vbcol=seagreen]
< 1a8e6c717259ef5da4333efce6894b5f@localho
st.talkaboutsoftware.com>
< 2a337321c621893dd1eaa1615d56108e@localho
st.talkaboutsoftware.com>
<uobhUC01EHA.1524@TK2MSFTNGP09.phx.gbl>
< 32baee076ebf2155af8568c5e8c55ff2@localho
st.talkaboutsoftware.com>
<bCSbj1#1EHA.3956@cpmsftngxa10.phx.gbl>[vbcol=seagreen]
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
sfeed1.ip.tiscali.net!news.glorb.com!sn-xit-04!sn-xit-10!sn-xit-06!sn-post-0
1!supernews.com!corp.supernews.com!not-for-mail[vbcol=seagreen]

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com