BizTalk Server - Sendport for Webservice

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > May 2007 > Sendport for Webservice





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 Sendport for Webservice
Henning Eiben

2006-12-10, 7:19 am

Hi,

I would like to have a webservice to accept all kinds of messages from
an orchestration. For that I created a simple webservice with a methode
called "receivedata" that acceptes a xml-document.

But how can I setup Biztalk to send different messages of an
orchestration to a single webservice?
Paul Somers

2007-01-09, 1:32 am

Hi,

Have you thought about using a HTTP Receive port, in this way you can send
as many document types as you like to the port, it works much like a web
service, except its a little more light weight, and it has none of the
problems with webservice ports.

Paul.

"Henning Eiben" <eiben@weite-welt.com> wrote in message
news:eEjp9ZFHHHA.4688@TK2MSFTNGP04.phx.gbl...
> Hi,
>
> I would like to have a webservice to accept all kinds of messages from
> an orchestration. For that I created a simple webservice with a methode
> called "receivedata" that acceptes a xml-document.
>
> But how can I setup Biztalk to send different messages of an
> orchestration to a single webservice?



Schalk van Wyk

2007-05-11, 7:16 am


> Hi,
>
> I would like to have a webservice to accept all kinds of messages from
> an orchestration. For that I created a simple webservice with a methode
> called "receivedata" that acceptes a xml-document.
>
> But how can I setup Biztalk to send different messages of an
> orchestration to a single webservice?


Using a HTTP port is fine, except that you will have to implement the SOAP exception handling part yourself. You will have to either deserialise the message with the .NET SOAPFormatter or handle that part of the message in your maps.

I have attempted using dynamic webservice ports, but I keep on running into stupid problems. My last problem has been dynamicly creating multiple message parts (which represents the parameters for the webservice method) for the outgoing message.

You should be able to have a dynamic webservice port, since you only use one webmethod with one string parameter (I asume).

Create a multi-part message and give the part the same name as the parameter. Assign the value going to the webmethod's parameter to message part.

BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com