Re: BTS2004 Dynamic Send Port with XmlDocument and SOAP



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






.



Relevant Pages

  • Re: Running a .Net exe over a particular port number.
    ... But I am calling a web service via a proxy within my executable. ... To connect to the proxy I am supposed to use a particular port number ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Consuming Web Service without Web Reference
    ... Eventhough I extracted schema from WSDL iam not able to call the web service. ... calling a web service than creating an xml and pushing it to the SOAP adapter. ... still have to generate a proxy and configure it in your send port. ...
    (microsoft.public.biztalk.general)
  • Re: Subscribing to Send Port Response messages
    ... Publishing Wizard' to create a web service (publish schema as a web ... port for me. ... Because there is no subscription created for the ... Because this is a two way port (by definition, as you wish to send a response) you have to find a way to return a response to the 2way receive port created for the web service. ...
    (microsoft.public.biztalk.general)
  • Re: Consuming Web Service without Web Reference
    ... Eventhough I extracted schema from WSDL iam not able to call the web service. ... calling a web service than creating an xml and pushing it to the SOAP adapter. ... still have to generate a proxy and configure it in your send port. ... Initially I tried adding the Web reference using the WSDL file. ...
    (microsoft.public.biztalk.general)
  • The underlying connection was closed: An unexpected error occurred on a receive.
    ... their web logs from an internal web service. ... a new port and work just fine. ... from the same client. ... generate a new port when I would select a new server, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)