BizTalk Server General - Can I check for a 200 or 202 TCP acknowedgements ?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > April 2006 > Can I check for a 200 or 202 TCP acknowedgements ?





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 Can I check for a 200 or 202 TCP acknowedgements ?
Mercurius.ter.Maximus@gmail.com

2006-04-10, 7:34 pm

If I have a one-way HTML / SOAP send port can I check for returned 202
or 200 acknowedgements in Biztalk 2004 ?

Greg Forsythe

2006-04-10, 7:34 pm

Depends to what level you want to check
From an orchestration you can set delivery notification on the send port.
This will block the send port, waiting on an ACK or NACK.
Read about handling ACK/NACKs here:
http://blogs.msdn.com/kevinsmi/arch.../03/172574.aspx

Or you can declare the port as request/response and check the
HTTP.InboundHttpHeaders property on the response message

Greg

<Mercurius.ter.Maximus@gmail.com> wrote in message
news:1144305295.353180.298710@t31g2000cwb.googlegroups.com...
> If I have a one-way HTML / SOAP send port can I check for returned 202
> or 200 acknowedgements in Biztalk 2004 ?
>




Mercurius.ter.Maximus@gmail.com

2006-04-18, 12:46 am

I'm new to this so if I was accidently vauge, sorry. I have an
orchestration with a Web Reference to a Web Service. This sends a SOAP
message. In production this orchestration will only send requests and
recieve no responses.

I tried your second suggestion as that is all I can see that I can do,
and no luck.

For the message I am sending out I have tried ( where WebOut is the
message )
WebOutResponse = WebOut(HTTP.InboundHttpHeaders);
WebOutResponse = WebOut(BTS.AckDescription);
WebOutResponse = WebOut(SOAP.UnknownHeaders);

All of which in HAT raise ...
Microsoft.XLANGs.RuntimeTypes.MissingPropertyException: There is no
value associated with the property 'BTS.AckDescription' in the message.
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXMessage.GetPropertyValueThrows(Type
propType)
at RevTest01.RevTest1.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
StopConditions stopCond, Exception& exp)
Microsoft.XLANGs.RuntimeTypes.MissingPropertyException

Mercurius.ter.Maximus@gmail.com

2006-04-18, 12:46 am

As a newbie I just wanted to confirm what I have can work. The follow
line returns 'SOAP'.

WebOutResponse = WebOut(BTS.OutboundTransportType);

Mercurius.ter.Maximus@gmail.com wrote:
> I'm new to this so if I was accidently vauge, sorry. I have an
> orchestration with a Web Reference to a Web Service. This sends a SOAP
> message. In production this orchestration will only send requests and
> recieve no responses.
>
> I tried your second suggestion as that is all I can see that I can do,
> and no luck.
>
> For the message I am sending out I have tried ( where WebOut is the
> message )
> WebOutResponse = WebOut(HTTP.InboundHttpHeaders);
> WebOutResponse = WebOut(BTS.AckDescription);
> WebOutResponse = WebOut(SOAP.UnknownHeaders);
>
> All of which in HAT raise ...
> Microsoft.XLANGs.RuntimeTypes.MissingPropertyException: There is no
> value associated with the property 'BTS.AckDescription' in the message.
> at
> Microsoft.BizTalk.XLANGs.BTXEngine.BTXMessage.GetPropertyValueThrows(Type
> propType)
> at RevTest01.RevTest1.segment1(StopConditions stopOn)
> at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
> StopConditions stopCond, Exception& exp)
> Microsoft.XLANGs.RuntimeTypes.MissingPropertyException


Greg Forsythe

2006-04-18, 12:46 am

If the Web Service returns no response then you end up with a one-way send
port. There is no response message passed back from the adapter.

You best option is to use the Delivery Notification on the orchestration
send port as per Kevin Smiths Blog.


Greg

<Mercurius.ter.Maximus@gmail.com> wrote in message
news:1144826997.949360.22820@g10g2000cwb.googlegroups.com...
> As a newbie I just wanted to confirm what I have can work. The follow
> line returns 'SOAP'.
>
> WebOutResponse = WebOut(BTS.OutboundTransportType);
>
> Mercurius.ter.Maximus@gmail.com wrote:
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com