 |
|
 |
|
|
 |
Biztalk 2004 and XML without namespace |
 |
 |
|
|
02-27-06 10:51 PM
Hi Everybody,
I need to use xml without namespace. In my initial project I have three
elements:
Schema IN
Map In_TO_OUT
Schema OUT
"In_TO_Out" transforms a xml input into a xml output with some easy
functoids. I don't use orchestrations but receive and send ports with
filters and assignments (i.g. map inside send port). If I put a xml doc
with namespace It's all right. But If I try the same with non namespace
xml I get problems.
To solve this issue, I've created two custom pipelines (receive and send):
In the receive pipeline I put a dissasambler xml and I link its schema
document property to my Schema IN.
I do the same in send pipeline, but in assambler xml I link its schema
document property to my Schema OUT.
But It doesn't work. The error message from the HAT is <<This Assembler
cannot retrieve document specification by using this type: "datos">>
where “datos” is the root element from my "IN" XML.
What can I do to solve this problem? Do I need to create an orchestration?
Thx in advance!
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
RE: Biztalk 2004 and XML without namespace |
 |
 |
|
|
02-27-06 10:51 PM
You could create an Orchestration or custom pipeline computer to set Allow
Unrecognized Messages property on the send port
(http://geekswithblogs.net/sthomas/a...0/08/12355.aspx).
But, what you have set up should be working.
I think there is a problem with the way BizTalk handles the schema with no
namespaces but I think it’s only if they are in the same project. Are the
schema in the same project as the pipelines? If so, try putting them into
there own project. To be safe, I’d delete the Xml Assembler and Disassembl
er
components inside your pipelines and re-add them. Then, in the schema list
select the new schema in the referenced project. Let me know if that works
for you.
Hope this helps.
Stephen W. Thomas
http://www.biztalkgurus.com
http://geekswithblogs.net/sthomas/
"Sbn" wrote:
> Hi Everybody,
>
> I need to use xml without namespace. In my initial project I have three
> elements:
>
> Schema IN
> Map In_TO_OUT
> Schema OUT
>
> "In_TO_Out" transforms a xml input into a xml output with some easy
> functoids. I don't use orchestrations but receive and send ports with
> filters and assignments (i.g. map inside send port). If I put a xml doc
> with namespace It's all right. But If I try the same with non namespace
> xml I get problems.
>
> To solve this issue, I've created two custom pipelines (receive and send):
>
> In the receive pipeline I put a dissasambler xml and I link its schema
> document property to my Schema IN.
>
> I do the same in send pipeline, but in assambler xml I link its schema
> document property to my Schema OUT.
>
> But It doesn't work. The error message from the HAT is <<This Assembler
> cannot retrieve document specification by using this type: "datos">>
> where “datos” is the root element from my "IN" XML.
>
> What can I do to solve this problem? Do I need to create an orchestration?
>
> Thx in advance!
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Biztalk 2004 and XML without namespace |
 |
 |
|
|
02-27-06 10:51 PM
Hello Stephen,
First of all, thank you very much for your quick response. But I'm
afraid it doesn't work (I don't know if I'm doing anything wrong).
I've created a new project where I put the schemas and the map. Then,
I've created an other project and I create both pipelines (after
referenced this project to the first). In "document schemas" (pipeline
send/receive property) I've chosen the schemas from the first project.
I get the same error, in the send pipeline. In the Receive pipe I've put
"Allow Unrecognized Messages" = True because if it was false, I've got a
problem in this receive pipeline.
I don't know where is the mistake or what I'm doing wrong...
Thx very much again,
S. Najera
Stephen W. Thomas wrote:[vbcol=seagreen]
> You could create an Orchestration or custom pipeline computer to set Allow
> Unrecognized Messages property on the send port
> (http://geekswithblogs.net/sthomas/a...0/08/12355.aspx).
>
> But, what you have set up should be working.
>
> I think there is a problem with the way BizTalk handles the schema with no
> namespaces but I think it’s only if they are in the same project. Are t
he
> schema in the same project as the pipelines? If so, try putting them into
> there own project. To be safe, I’d delete the Xml Assembler and Disassem
bler
> components inside your pipelines and re-add them. Then, in the schema lis
t
> select the new schema in the referenced project. Let me know if that work
s
> for you.
>
> Hope this helps.
>
> Stephen W. Thomas
> http://www.biztalkgurus.com
> http://geekswithblogs.net/sthomas/
>
>
> "Sbn" wrote:
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Biztalk 2004 and XML without namespace |
 |
 |
|
|
02-27-06 10:51 PM
Well, it’s good to know at least that it still doesn’t work separating i
t
into different projects. Although, I think that would have fixed the
problem. This link talks more about it:
http://www.traceofthought.net/Perma...7c.
aspx
Did you make sure you uninstalled the past assemblies and restarted your
hosts?
The allowed unrecognized messages needs to be set on the Send Port.
I think your error message said the problem was in the Send Port
(Assembler).
Not sure why you’d be getting an error on the Receive side now. What was
the error?
Stephen W. Thomas
http://www.biztalkgurus.com
"Sbn" wrote:
> Hello Stephen,
>
> First of all, thank you very much for your quick response. But I'm
> afraid it doesn't work (I don't know if I'm doing anything wrong).
>
> I've created a new project where I put the schemas and the map. Then,
> I've created an other project and I create both pipelines (after
> referenced this project to the first). In "document schemas" (pipeline
> send/receive property) I've chosen the schemas from the first project.
>
> I get the same error, in the send pipeline. In the Receive pipe I've put
> "Allow Unrecognized Messages" = True because if it was false, I've got a
> problem in this receive pipeline.
>
> I don't know where is the mistake or what I'm doing wrong...
>
> Thx very much again,
>
> S. Najera
>
> Stephen W. Thomas wrote:
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Biztalk 2004 and XML without namespace |
 |
 |
|
|
02-27-06 10:51 PM
Hello,
I'm getting desperate I've followed all the steps (I think in the
right way: I reestart my hosts, uninstalled the old assemblies...)
But now (when I create a second project to my pipelines), I get troubles
in the receive port (!). It seems like it doesn't recognize the first
project (the one it is referenced from the "pipelines project").
I have the "spanish version" of BTS, I'll try to translate the error
message I get: <<I dind't found any schema that matches to the document
type "datos" (more or less)>>. But I have done this link in "Document
Scheemas", and so...
Okey, tomorrow will be another day... (I hope!). Anyway, thanks very
much for your help (and sorry for my bad english).
S.Najera
Stephen W. Thomas wrote:[vbcol=seagreen]
> Well, it’s good to know at least that it still doesn’t work separating
it
> into different projects. Although, I think that would have fixed the
> problem. This link talks more about it:
> http://www.traceofthought.net/Perma...7
c.aspx
>
> Did you make sure you uninstalled the past assemblies and restarted your
> hosts?
>
> The allowed unrecognized messages needs to be set on the Send Port.
> I think your error message said the problem was in the Send Port
> (Assembler).
>
> Not sure why you’d be getting an error on the Receive side now. What wa
s
> the error?
>
> Stephen W. Thomas
> http://www.biztalkgurus.com
>
>
> "Sbn" wrote:
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Biztalk 2004 and XML without namespace |
 |
 |
|
|
02-27-06 10:51 PM
Does your schema definition for "datos" have a target namespace specified?
If you open the schema file in VS and select <schema>, what is the value of
the target namespace property.
If this property has a value, you will need to delete it, recompile and
redeploy.
Greg
"Sbn" <snajera@gmail.com> wrote in message
news:OGeXAN%23OGHA.1676@TK2MSFTNGP09.phx.gbl...[vbcol=seagreen]
> Hello,
>
> I'm getting desperate I've followed all the steps (I think in the right
> way: I reestart my hosts, uninstalled the old assemblies...)
>
> But now (when I create a second project to my pipelines), I get troubles
> in the receive port (!). It seems like it doesn't recognize the first
> project (the one it is referenced from the "pipelines project").
>
> I have the "spanish version" of BTS, I'll try to translate the error
> message I get: <<I dind't found any schema that matches to the document
> type "datos" (more or less)>>. But I have done this link in "Document
> Scheemas", and so...
>
> Okey, tomorrow will be another day... (I hope!). Anyway, thanks very much
> for your help (and sorry for my bad english).
>
> S.Najera
>
>
>
> Stephen W. Thomas wrote:
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Biztalk 2004 and XML without namespace |
 |
 |
|
|
02-28-06 12:49 PM
Stephen, Greg: thank you very much for your help!
In fact, I forgot to delete the target namespace from the schemas and I also
believe I was doing a wrong reference to my "Schemas-Project", because I was
catching the .dll from /bin... instead of /obj... (I'm not sure, but I've
change this .dll from /bin to /obj and it works ok, so...)
Anyway, I reestart the host and follow all your indications (a diferent
project to the pipelines, etc.) and now it works fine.
Thank you very much again!
S. Najera
"Greg Forsythe" wrote:
> Does your schema definition for "datos" have a target namespace specified?
> If you open the schema file in VS and select <schema>, what is the value o
f
> the target namespace property.
> If this property has a value, you will need to delete it, recompile and
> redeploy.
>
> Greg
>
>
> "Sbn" <snajera@gmail.com> wrote in message
> news:OGeXAN%23OGHA.1676@TK2MSFTNGP09.phx.gbl...
>
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 01:13 PM. |
 |
|
|
 |
|
 |
|
|
 |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
Medical and Health forum | Computer Games Reviews | Graphics design forum
|
 |
|
 |
|