BizTalk Server General - Namespace-Pipeline

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > July 2004 > Namespace-Pipeline





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 Namespace-Pipeline
Venkat

2004-07-09, 3:31 pm

Hi ,
I have a situation where I take some input from a third party tool as a xml file without a namespace.

What I need to do is I need to add a target namespace to this as I have 5 document definition from the third party with out a namespace and also they all have the same type name. So I when I fire to start the orchestration by giving the xml-passthru or xm
l-transmit in the receive pipleine I get this error msg:

The disassembler cannot retrieve the document specification by using this type: "QMIS".

So I presume that if I can develop a custom-pipeline where in I can add a target namespace, the problem will be solved. Am I right? If so where in should I write my code in the decoder/disassembler??

Any help pls,
venkat.



Matt Milner

2004-07-09, 3:31 pm

yes, use a custom receive pipeline with an xmldisassembler component in it
and then specify the document schema in the properties of the disassembler.

Matt


"Venkat" <Venkat@discussions.microsoft.com> wrote in message
news:72B24B8B-C016-4793-9298-DF94F0B1D0A6@microsoft.com...
> Hi ,
> I have a situation where I take some input from a third party

tool as a xml file without a namespace.
>
> What I need to do is I need to add a target namespace to this as I have 5

document definition from the third party with out a namespace and also they
all have the same type name. So I when I fire to start the orchestration by
giving the xml-passthru or xml-transmit in the receive pipleine I get this
error msg:
>
> The disassembler cannot retrieve the document specification by using this

type: "QMIS".
>
> So I presume that if I can develop a custom-pipeline where in I can add

a target namespace, the problem will be solved. Am I right? If so where in
should I write my code in the decoder/disassembler??
>
> Any help pls,
> venkat.
>
>
>



Tatyana Yakushev [MSFT]

2004-07-09, 3:31 pm

Clarification:
If you receive different documents from different locations then you can create pipelines for each document, at the pipeline XML Disassembler specify which schema to use
and select this pipeline at the receive port.

If all the documents come to the same location then solution is more complicated. You will have to write custom pipeline component that adds target namespace to the
XML. Look at the pipeline component examples shipped with BizTalk.

Thanks,
Tatyana

P.S. Do these schemas have to be separate? Can you combine them into one which will validate any of the documents?
--------------------
>From: "Matt Milner" <matt.milner@m3technologypartners dot com>
>References: <72B24B8B-C016-4793-9298-DF94F0B1D0A6@microsoft.com>
>Subject: Re: Namespace-Pipeline
>Date: Thu, 8 Jul 2004 11:09:43 -0500
>Lines: 32
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>Message-ID: <Oav#CYQZEHA.3716@TK2MSFTNGP11.phx.gbl>
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: user-0c93f8k.cable.mindspring.com 24.145.189.20
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.general:17024
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>yes, use a custom receive pipeline with an xmldisassembler component in it
>and then specify the document schema in the properties of the disassembler.
>
>Matt
>
>
>"Venkat" <Venkat@discussions.microsoft.com> wrote in message
>news:72B24B8B-C016-4793-9298-DF94F0B1D0A6@microsoft.com...
>tool as a xml file without a namespace.
>document definition from the third party with out a namespace and also they
>all have the same type name. So I when I fire to start the orchestration by
>giving the xml-passthru or xml-transmit in the receive pipleine I get this
>error msg:
>type: "QMIS".
>a target namespace, the problem will be solved. Am I right? If so where in
>should I write my code in the decoder/disassembler??
>
>
>



--

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com