BizTalk Server Orchestration - Debugging SOAP transmission failure

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > January 2005 > Debugging SOAP transmission failure





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 Debugging SOAP transmission failure
IT Drone

2005-01-26, 5:54 pm


I have an orchestration that consumes a partner's web service. The web
service uses https, and it's two way (request-response). So I've
installed the certificate under the user store the orchestration runs
under, built...well, a whole bunch of things, and now I'm testing.

My message fails and ends up "Suspended Resumable". Well, actually two
instances of it, I assume that's because one is the one that went in to
the passthru pipeline and the other is the one that came out theother
end and BizTalk tried to send as a request to the web service.

Message flow shows two messages, both SOAP adapter. One is "In" and is
listed as "OK". One is "Out" and is listed as "Transmission Failure"

For both, the correct URI of the web service is listed.

I suspect the problem is it's not getting a SOAP envelope wrapped
around it, but then maybe this is automatic? The message should just
need a soap envelope and body tags, nothing else. How do I view my
message content to see if it's got this?

And in general, where do I go from here to debug this? I've tried
setting break points in the orchestration flow debugger, but once it
stops, I can't really see what to do in there. And the
documentation...don't get me started.
So...help!

TIA,


Doctor One

IT Drone

2005-01-26, 8:47 pm


I've found the message in HAT, and the error message says:

System.InvalidOperationException: There is an error in XML document (1,
2). ---> System.InvalidOperationException: <Myrootnode
xmlns='http://b2b.earthcorp.com/partners/message/v1_1/'> was not
expected.
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1. Read10_validateSLServiceAvailabilityType
()
--- End of inner exception stack trace ---
at System.Xml.Ser


Now this is the correct root node and namespace. So is the problem
that it didn't get a SOAP envelope tag, or is that automatically
stripped off? It's hard to tell with the SOAP adapter how/where
envelopes get placed on the message or stripped off.

IT Drone

2005-01-26, 8:47 pm



Okay, I solved my problem above - the message I was constructing had to
use the schema from the web port.

Now I send my message off, and HAT reports a transmission failure, and
keeps re-trying every five minutes. I know the web service I am trying
to consume is up, so how do I determine the problem?

IT Drone

2005-01-26, 8:47 pm



Ah, and now I find the problem is that it won't establish a trust
relationship with the remote server. I have a certificate, but I guess
the names don't match up. Anybody can point me to a good resource for
how to configure the SSL portion on my dev machine (and later, I get to
screw up the production machine, too!).


Dr. One

Vikas Nahata [MSFT]

2005-01-28, 8:46 pm

Are you asking about configuring the server or the biztalk Send port?

This posting is provided "AS IS" with no warranties, and confers no rights.

EBusiness Server Team
--------------------
| >>From: "IT Drone" <drone@earthcorp.com>
| >>Newsgroups:
microsoft.public.biztalk.orchestration,microsoft.public.biztalk.server
| >>Subject: Re: Debugging SOAP transmission failure
| >>Date: 26 Jan 2005 18:37:34 -0800
| >>Organization: http://groups.google.com
| >>Lines: 11
| >>Message-ID: <1106793454.715429.51280@z14g2000cwz.googlegroups.com>
| >>References: <1106782033.973894.39480@f14g2000cwb.googlegroups.com>
| >> <1106783824.588080.10850@z14g2000cwz.googlegroups.com>
| >> <1106792724.955399.320760@c13g2000cwb.googlegroups.com>
| >>NNTP-Posting-Host: 192.84.19.225
| >>Mime-Version: 1.0
| >>Content-Type: text/plain; charset="iso-8859-1"
| >>X-Trace: posting.google.com 1106793469 745 127.0.0.1 (27 Jan 2005
02:37:49 GMT)
| >>X-Complaints-To: groups-abuse@google.com
| >>NNTP-Posting-Date: Thu, 27 Jan 2005 02:37:49 +0000 (UTC)
| >>User-Agent: G2/0.2
| >>Complaints-To: groups-abuse@google.com
| >>Injection-Info: z14g2000cwz.googlegroups.com;
posting-host=192.84.19.225;
| >> posting-account=a8nD1Q0AAACTWqMCFPpbnYzP-PAqQcQQ
| >>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
sfeed1.ip.tiscali.net!news.glorb.com!newsread.com!news-xfer.newsread.com!pos
tnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail
| >>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.server:10806
microsoft.public.biztalk.orchestration:9920
| >>X-Tomcat-NG: microsoft.public.biztalk.orchestration
| >>
| >>
| >>
| >>Ah, and now I find the problem is that it won't establish a trust
| >>relationship with the remote server. I have a certificate, but I guess
| >>the names don't match up. Anybody can point me to a good resource for
| >>how to configure the SSL portion on my dev machine (and later, I get to
| >>screw up the production machine, too!).
| >>
| >>
| >>Dr. One
| >>
| >>

IT Drone

2005-01-31, 5:53 pm



I wish I knew. I have the send port set to use the certificate, and the
fact that it appears in the drop-down tells me (I think) that it is in
the right store.

I also added it to the store of the user account BizTalk runs under.


When hitting a test (versus production) system, the name on the
certificate isn't going to match correctly (since it's the production
system name). Is there a way to tell BizTalk to ignore the name
mismatch, similar to what you can do in code?





Vikas Nahata [MSFT] wrote:
> Are you asking about configuring the server or the biztalk Send port?
>
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> EBusiness Server Team
> --------------------
> | >>From: "IT Drone" <drone@earthcorp.com>
> | >>Newsgroups:
>

microsoft.public.biztalk.orchestration,microsoft.public.biztalk.server
> | >>Subject: Re: Debugging SOAP transmission failure
> | >>Date: 26 Jan 2005 18:37:34 -0800
> | >>Organization: http://groups.google.com
> | >>Lines: 11
> | >>Message-ID:

<1106793454.715429.51280@z14g2000cwz.googlegroups.com>
> | >>References:

<1106782033.973894.39480@f14g2000cwb.googlegroups.com>
> | >> <1106783824.588080.10850@z14g2000cwz.googlegroups.com>
> | >> <1106792724.955399.320760@c13g2000cwb.googlegroups.com>
> | >>NNTP-Posting-Host: 192.84.19.225
> | >>Mime-Version: 1.0
> | >>Content-Type: text/plain; charset="iso-8859-1"
> | >>X-Trace: posting.google.com 1106793469 745 127.0.0.1 (27 Jan 2005


> 02:37:49 GMT)
> | >>X-Complaints-To: groups-abuse@google.com
> | >>NNTP-Posting-Date: Thu, 27 Jan 2005 02:37:49 +0000 (UTC)
> | >>User-Agent: G2/0.2
> | >>Complaints-To: groups-abuse@google.com
> | >>Injection-Info: z14g2000cwz.googlegroups.com;
> posting-host=192.84.19.225;
> | >> posting-account=a8nD1Q0AAACTWqMCFPpbnYzP-PAqQcQQ
> | >>Path:
>

cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
>

sfeed1.ip.tiscali.net!news.glorb.com!newsread.com!news-xfer.newsread.com!pos
> tnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail
> | >>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.server:10806
> microsoft.public.biztalk.orchestration:9920
> | >>X-Tomcat-NG: microsoft.public.biztalk.orchestration
> | >>
> | >>
> | >>
> | >>Ah, and now I find the problem is that it won't establish a trust
> | >>relationship with the remote server. I have a certificate, but I

guess
> | >>the names don't match up. Anybody can point me to a good

resource for
> | >>how to configure the SSL portion on my dev machine (and later, I

get to
> | >>screw up the production machine, too!).
> | >>
> | >>
> | >>Dr. One
> | >>
> | >>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com