Referencing Web Service thru' Dynamic Url in BizTalk Orchestration

  • Thread starter Thread starter Shikari Shambu
  • Start date Start date
S

Shikari Shambu

Hi,
I have an application that uses BizTalk 2004 orchestration that consumes
a web service. I set the web service reference to Dynamic Url because I want
different environments where the app will be deployed to point to different
urls.

However, setting the reference to Dynamic URL seem to have no effect. What
should be the name of the config file for the orchestration project? And, is
there a way to see the c-sharp code that the odx finally gets compiled to?

TIA
 
You should set the URL of the Web Service in the Send Port,
for example: When you are building and deploying your BizTalk Orchestration,
your logical web ports on your Orchestration will be bound to physical
send ports (the physical send ports will be created for you
when you deploy your BTS project on your development machine). You can
then view the Physical send ports in the BizTalk Explorer in VS2003. You
can then change the URL of the web service in the Send Port. When you move
from development to a production server, use the Deployment Wizard to create
a binding file, in the binding file, you can then change the URL of the Web
Service,
for the production machines.
 
Shikari,

Dynamic URL will work only if you set the url. See my previous posting on
how to set the URL in an expression shape.
You can either hard-code the URL or you can set the URL by reading a
name/value pair you place in the BTSNTSvr.exe.config file.
You can also read the URL from any location of your choice (database, file,
message property ...and so on)

Let me know if you need further help.

Anthony O.
 
Ashish,

If you are consuming a web service from another web application, you can
locate the particular reference and this will create an entry in your web
config file. You can then modify your web config file by providing the
appropriate Url.

Anthony O.
 
Back
Top