BizTalk Server Orchestration - Web Service: Target namespaces should be unique

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > November 2005 > Web Service: Target namespaces should be unique





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 Web Service: Target namespaces should be unique
Daniel Gelinas

2005-11-09, 5:51 pm

Hello,

I published an orchestration as a Web Service, expecting a multipart
message. Trying to consume this web service from an orchestration on a
remote BizTalk machine, I add a web reference and make a one-way port sending
the 3-part message of type defined by my web reference. It should work
easily.

Building is fine, but deployment gives me a bunch of error messages of the
type "Target namespaces should be unique". Runtime blocks my incoming
messages saying it can't find the schema referenced. My two BizTalk machines
do share some of the same schemas. When I add the web reference, it imports
the schemas from the main server, thus doubling the schema namespaces
referenced by the orch project.

Is there a way to share schemas between BizTalk machines communicating
through a web service ? Any pointers would be quite appreciated.

Daniel Gelinas
Feio Tomaz

2005-11-25, 5:51 pm

if i understand well what you say your problem is in the web reference you
create. when you create a web ref in a bts project the schema of messages of
referenced web services is included in your project like a referenced schema.
look in the your web reference and you see what i say. if you create a schema
into your 'new' project with the same referenced“s target namespace you have
a problem. the solution is change the target namespace of the new schema.

i hope this help you

"Daniel Gelinas" wrote:

> Hello,
>
> I published an orchestration as a Web Service, expecting a multipart
> message. Trying to consume this web service from an orchestration on a
> remote BizTalk machine, I add a web reference and make a one-way port sending
> the 3-part message of type defined by my web reference. It should work
> easily.
>
> Building is fine, but deployment gives me a bunch of error messages of the
> type "Target namespaces should be unique". Runtime blocks my incoming
> messages saying it can't find the schema referenced. My two BizTalk machines
> do share some of the same schemas. When I add the web reference, it imports
> the schemas from the main server, thus doubling the schema namespaces
> referenced by the orch project.
>
> Is there a way to share schemas between BizTalk machines communicating
> through a web service ? Any pointers would be quite appreciated.
>
> Daniel Gelinas

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com