|
Home > Archive > BizTalk Server > May 2006 > Problem with 2006 tutorial (failure executing the receive pipeline)
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 |
Problem with 2006 tutorial (failure executing the receive pipeline)
|
|
|
| Hi everyone,
I'm trying to follow thru the tutorials in the preview of Biztalk 2006 and
have got as far as tutorial 3 - Lesson 3 where you try to connect to a
"supplier Web Service".
To be honest its my first attempt at BizTalk so I'm not 100% confident
however all was going well until I hit this error....
There was a failure executing the receive pipeline:
"Microsoft.BizTalk.DefaultPipelines.XMLReceive,
Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" Source: "XML disassembler" Receive Port:
"ASN_ReceivePort" URI:
"/B2BOrchestrations_WebService/ B2BOrchestrations_B2BProcess_ReceiveASN_
Port.asmx"
Reason: Loading document specification <B2BSchemas.AdvancedShipNotice> from
assembly <B2BSchemas, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=f5f7841d15c6dc86> failed. Verify that the schema for this
document specification is deployed and placed in the Global Assembly Cache.
This appears in the event log and the Health and Activity Tracking tool.
The tutorial (amongst other things) attempts to send a msg to a web service
which returns two messages to two separate ports and its these return
message calls that are failing.
I've attached to the web service process and debugged it to ensure that
there are no exceptions and so on - seems to make the calls fine. So I think
that its actually getting to the "receive" of this send on the pipeline and
running into problems.
I've also run ildasm and located the B2BSchemas.dll to check that the schema
(B2BSchemas.AdvancedShipNotice) is in there - which it is - and am now
stuck.
Can't seem to find anything on the web or in the groups - has anyone come
across this before or are there any BizTalk old hands that could give me a
pointer ?
Cheers
Lal.
| |
| Paul Somers 2006-04-18, 12:46 am |
| It looks like the message the web service is sending does not have the
schema for it deployed to BizTalk, can you debug and check the message
returned conforms to the B2BSchemas.AdvancedShipNotice schema?
Did you check the admin console for the schema?
Is the B2BSchemas.dll assembly in the GAC?
Paul.
"lal" <lal@smogg.ie> wrote in message
news:442aeff8$0$3595$ed2e19e4@ptn-nntp-reader04.plus.net...
> Hi everyone,
>
> I'm trying to follow thru the tutorials in the preview of Biztalk 2006 and
> have got as far as tutorial 3 - Lesson 3 where you try to connect to a
> "supplier Web Service".
> To be honest its my first attempt at BizTalk so I'm not 100% confident
> however all was going well until I hit this error....
>
> There was a failure executing the receive pipeline:
> "Microsoft.BizTalk.DefaultPipelines.XMLReceive,
> Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral,
> PublicKeyToken=31bf3856ad364e35" Source: "XML disassembler" Receive Port:
> "ASN_ReceivePort" URI:
> "/B2BOrchestrations_WebService/ B2BOrchestrations_B2BProcess_ReceiveASN_
Port.asmx"
> Reason: Loading document specification <B2BSchemas.AdvancedShipNotice>
> from assembly <B2BSchemas, Version=1.0.0.0, Culture=neutral,
> PublicKeyToken=f5f7841d15c6dc86> failed. Verify that the schema for this
> document specification is deployed and placed in the Global Assembly
> Cache.
>
> This appears in the event log and the Health and Activity Tracking tool.
>
> The tutorial (amongst other things) attempts to send a msg to a web
> service which returns two messages to two separate ports and its these
> return message calls that are failing.
>
> I've attached to the web service process and debugged it to ensure that
> there are no exceptions and so on - seems to make the calls fine. So I
> think that its actually getting to the "receive" of this send on the
> pipeline and running into problems.
> I've also run ildasm and located the B2BSchemas.dll to check that the
> schema (B2BSchemas.AdvancedShipNotice) is in there - which it is - and am
> now stuck.
> Can't seem to find anything on the web or in the groups - has anyone come
> across this before or are there any BizTalk old hands that could give me a
> pointer ?
>
> Cheers
> Lal.
>
>
| |
| Eric Battalio [MSFT] 2006-05-02, 7:17 pm |
| I think the problem may have to do with the tokens embedded in the C# files
in the B2BOrchestrations_webservice directory. To fix, you need to change
the token embedded in these files to the one in your tutorial.snk file.
You can accomplish this through the following steps:
1. Open up the Visual Studio 2005 (VS) command prompt. On the task bar,
click Start | All Programs | Microsoft Visual Studio 2005 | Visual Studio
Tools | Visual Studio 2005 Command Prompt.
2. From the VS command prompt, use the “CD” command to change to the “
B2BSolution” tutorial directory. If you installed the tutorial to “
C:\Tutorial”, you will use the command “CD
C:\Tutorial\Solutions\B2BSolution”.
3. Extract the public key pair from the tutorial strong name key file. To
do this, use the following command:
sn –p ..\..\Tutorial.snk token.snk
4. Now copy the display token for the public key into the text file “
token.txt” using the following command:
sn –t token.snk > token.txt
5. To view the contents of token.txt, run the command “notepad token.txt”
on the command prompt. You will copy this token into two different files.
6. Assuming the tutorial is installed in “c:\tutorial”, use notepad to open
the file “
C:\tutorial\Solutions\B2BSolution\B2BOrc
hestrations_webservice\App_Code\B2BO
rchestrations_B2BProcess_ReceiveASN_Port
.asmx.cs”. Change “
f5f7841d15c6dc86” on line 24 to the token value in token.txt then save the
file.
7. Assuming the tutorial is installed in “c:\tutorial”, use notepad to open
the file “
C:\tutorial\Solutions\B2BSolution\B2BOrc
hestrations_webservice\App_Code\B2BO
rchestrations_B2BProcess_ReceiveInvoice_
Port.asmx.cs”. Change “
f5f7841d15c6dc86” on line 24 to the token value in token.txt then save the
file.
8. Redploy the B2BProject.
The problem should disappear.
-Eric
--------------------[vbcol=seagreen]
pipeline)[vbcol=seagreen]
and[vbcol=seagreen]
Port:[vbcol=seagreen]
"/B2BOrchestrations_WebService/ B2BOrchestrations_B2BProcess_ReceiveASN_
Port.
asmx"[vbcol=seagreen]
this[vbcol=seagreen]
tool.[vbcol=seagreen]
that[vbcol=seagreen]
am[vbcol=seagreen]
come[vbcol=seagreen]
me a[vbcol=seagreen]
This posting is provided "AS IS" with no warranties, and confers no rights.
© 2006 Microsoft Corporation.
All rights reserved.
|
|
|
|
|