Re: BTS2004 Dynamic Send Port with XmlDocument and SOAP
- From: MattBell <MattBell@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 17 Apr 2006 07:25:02 -0700
So there really isn't any way to call a web service purely dynamically. You
have to at some point have declared a reference to that web service in code,
even if it's WSDL is as simple as an ANY type? At some point you have to
reference the web service and generate a client side stub?
"Matt Milner" wrote:
The send port will need an assembly and class specified as context.
properties on the message. These are for the client side proxy class that
will be used to call the web service. You'll also want to specify the
method name. This gives the adapter enough information to create the proxy
class and call the right method on it. So you need to have a client proxy
(.NET class) built to call the web service; this is what the adapter uses to
call it. When you add a web reference, the class for this gets built into
your orchestration project and the orchestration correctly sets those values
for you (this is a web port, as Scott was mentioning).
Matt
"MattBell" <MattBell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9B642F06-201B-406E-AC38-B7FD186378F0@xxxxxxxxxxxxxxxx
I'm not entirely sure I know what a web port is. Is that something in
2006?
I switched my port initialize call to use SOAP://URL.asmx and it correctly
sets it up as a SOAP protocol, but not it's giving an error saying I need
to
specify an Assembly in my message.
I'm not sure what Assembly it wants. I put in the Orchestration assembly
and
that didn't work. I haven't tried the web service assembly name yet, and
I
hope that isn't the one it's looking for because that would really defeat
the
point of a service architecture if you can only call .NET assembly's
dynamically over the web.
Any thoughts?
Matt
"Scott Colestock" wrote:
Is the port a "Web port" ? (Use a web port in conjunction wtih
"dynamic")
Scott Colestock
www.traceofthought.net
"MattBell" <MattBell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:27FC346B-2B79-4BFC-89B3-1CCBCDC14C90@xxxxxxxxxxxxxxxx
I have a dynamic send port which I initialize in my orchestration. I
set
the
Address on the port to be the Web Service address I'm trying to call,
and
then set properties on the message which is of type XmlDocument, to
define
the method to call and I specify the BTS.OutboundTransportType to SOAP.
However my orchestration keeps trying to send it using HTTP transport.
Is
there some way of making sure it uses soap when setting the address on
the
send port?
Any help is much appreciated
Matt Bell
- Follow-Ups:
- Re: BTS2004 Dynamic Send Port with XmlDocument and SOAP
- From: TO_BizTalker
- Re: BTS2004 Dynamic Send Port with XmlDocument and SOAP
- References:
- Re: BTS2004 Dynamic Send Port with XmlDocument and SOAP
- From: Scott Colestock
- Re: BTS2004 Dynamic Send Port with XmlDocument and SOAP
- From: Matt Milner
- Re: BTS2004 Dynamic Send Port with XmlDocument and SOAP
- Prev by Date: Determine Receiving Party
- Next by Date: BizTalk 2006 Configurations
- Previous by thread: Re: BTS2004 Dynamic Send Port with XmlDocument and SOAP
- Next by thread: Re: BTS2004 Dynamic Send Port with XmlDocument and SOAP
- Index(es):
Relevant Pages
|