|
| Hi,
I am consuming a web service from within an orchestration. This web service
has both a one-way and a two-way method. When I add a web reference to it,
Visual Studio adds three schemas and a port type to the project. Note that
the port type has a request-response communication pattern.
After deploying the project, I created a solicit-response send port and
bound it to the orchestration. The BizTalk Explorer does not allow me to bind
a one-way port to it. So far, so good.
Now what happens when I invoke the orchestration:
If I specify the default XML pipeline as the send port's receive pipeline,
BizTalk reports the following error to the event log:
There was a failure executing the receive pipeline:
"Microsoft.BizTalk.DefaultPipelines.XMLReceive" Source:
"Microsoft.BizTalk.Pipeline.Components" Receive Location:
"http://localhost/WebService1/Service1.asmx" Reason: Body part is null.
HAT now contains a not resumable message of type OneWayMethod.Response. Note
that no such schema exists.
Now, if I change the receive pipeline to PassThruReceive, BizTalk reports
The "SOAP" adapter is suspending a message coming from Source
URL:"http://localhost/WebService1/Service1.asmx". Details:"Response message
submission failed.".
and then
The Messaging engine failed to process a message submitted by adapter:SOAP
Source URL:http://localhost/WebService1/Service1.asmx. Details:Could not find
a matching subscription for the message.
HAT contains now two messages of this mysterious type, one not resumable
(routing failure), the other resumable (messaging).
Is there anyone who could confirm this as a bug or provide another
workaround as the one suggested below? And where does this response message
type come from?
Thanks in advance
Alex
Ps: I reposted this question in hope for additional responses. The original
titel was "Mixed One-Way and Solicit-Response Operations". Many thanks to
everyone that tried to help me there.
|
|