|
Home > Archive > BizTalk Server Orchestration > December 2005 > Request Response Orchestration Web Service Fails
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 |
Request Response Orchestration Web Service Fails
|
|
|
| I've created an orchestration and published it as a web service via the
Biztalk Web service publishing wizard.
I am getting the following error (from event viewer):
"Could not find a matching subscription for the message."
Service Name: <Isolated Adapter>
Assembly name:
Service class: Isolated adapter
Message count: 1
Error code: 0xc0c01680
Error category: 0
Error description: Could not find a matching subscription for the message.
Last processing server: VAIO
Suspend Time: 11/30/2005 1:39:50 PM
Status: Suspended (not resumable)
Pending action: None
Service instance ID: 255d3245-db6e-4717-a08f-dc8c4090d644
Host: BizTalkServerIsolatedHost
Activation time: 11/30/2005 1:39:43 PM
In BizTalk admin console, I see the req/resp port listed under Recieve Ports
but NOT Send Ports. Could this be the problem?
Thanks for any help
| |
| carlos 2005-12-01, 8:53 pm |
|
check that you Receive Pipeline is XmlReceive instead of Passthrough in the
Receive Port created by Publishing WS Wizard....
"css" wrote:
> I've created an orchestration and published it as a web service via the
> Biztalk Web service publishing wizard.
>
> I am getting the following error (from event viewer):
> "Could not find a matching subscription for the message."
>
> Service Name: <Isolated Adapter>
> Assembly name:
> Service class: Isolated adapter
> Message count: 1
> Error code: 0xc0c01680
> Error category: 0
> Error description: Could not find a matching subscription for the message.
> Last processing server: VAIO
> Suspend Time: 11/30/2005 1:39:50 PM
> Status: Suspended (not resumable)
> Pending action: None
> Service instance ID: 255d3245-db6e-4717-a08f-dc8c4090d644
> Host: BizTalkServerIsolatedHost
> Activation time: 11/30/2005 1:39:43 PM
>
> In BizTalk admin console, I see the req/resp port listed under Recieve Ports
> but NOT Send Ports. Could this be the problem?
>
> Thanks for any help
| |
|
| Carlos,
That was it. Thanks so much. Why did that change work - I would think it
was already packaged as XML/SOAP and why would BZT Pub Wizard make passthru
the default?
I'd appreciate your insight on th efollowing because my orchestration now
starts but gets an XPathUpdateException exception on some simple Message
Assignment code that compiles. Below is the Message Assignment, the
exception and the C# test client code :
Message Assignment
-------------------------------
RFPOut = RFPIn;
RFPOut(ExposeRFP.PropertySchema.Cost) = RFPI(ExposeRFP.PropertySchema.Cost);
RFPOut(ExposeRFP.PropertySchema.Status) = "Estimated";
EXCEPTION:
----------------
Microsoft.XLANGs.RuntimeTypes.XPathUpdateException: A failure occurred while
evaluating the property ExposeRFP.PropertySchema.Status against the message
part data. The message part data does not contain at least one of the nodes
specified by the XPath expression (listed below) that corresponds to the
property. The cause for this error may be that the message part data has not
been initialized or that the message part data does not conform to the
message part schema. Ensure that the message part data is initialized
correctly.
XPath expression: /*[local-name()='RFP' and
namespace-uri()='http://ExposeRFP.RFP']/*[local-name()='Status' and
namespace-uri()='']
at Microsoft.XLANGs.Core.XSDPart.SetPayloadProperty(PropertyDefinition
pd, Object val)
at Microsoft.XLANGs.Core.XMessage.SetContentProperty(Type propType,
Object val)
at Microsoft.XLANGs.Core.XMessage.SetPropertyValue(Type propType, Object
val)
at ExposeRFP.Orchestration_1.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
StopConditions stopCond, Exception& exp)
Microsoft.XLANGs.RuntimeTypes.XPathUpdateException
Scoped@
Orchestration_1.Orchestration_1
f297ef2f-9902-4ae4-8e9d-4f405044c2e8
C# Test code
-----------------
ExposeRFP.ExposeRFP_Orchestration_1_SubmitRFPport port = new
TestExposeRFP.ExposeRFP. ExposeRFP_Orchestration_1_SubmitRFPport(
);
ExposeRFP.RFP rfp = new TestExposeRFP.ExposeRFP.RFP();
rfp.ID = "123";
rfp.Service = "Software";
rfp.Hours = 45;
rfp.Cost = 0.0M;
rfp.Status = "Proposed";
try
{
port.Operation_1(ref rfp);
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}
"Status" must be there .. it is in the web reference and object....
| |
|
| Carlos - one more note to my last reply. I see the problem but I am stumped
as to why its occurring. Here is the issue:
In my property schema - I have all 5 fields items promoted in the
propertyschema.xsd. But when I debug the incoming message in HAT, I only see
4 of the fields with the propertyschema namespace and one of them, status is
missing from the list.
I am confounded. Any ideas?
|
|
|
|
|