Re: Error receiving response from WCF service
- From: Stéphanie Briant <StphanieBriant@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Feb 2021 09:07:02 -0800
Thanks for your answer.
The problem is not coming from a mapping, the error happens on the receive
shape. It looks like Biztalk can't interprete the response from the WCF
service.
"Andy" wrote:
This error can also generated from a functoid within a mapping..
Since the shape doesn't have a name, try using the shape id to figure in
which shape the error is generated.
Then use a catch block to handle the error properly.
Greetz,
Andy
"Stéphanie Briant" <StphanieBriant@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:8C12AA1E-266D-41B7-8048-DD24295E7392@xxxxxxxxxxxxxxxx
Hi,
I'm testing call to WCF service using WCF Ws_Http adapter, and I'm
receiving
a strange error when getting the answer from the service:
Event Type: Error
Event Source: XLANG/s
Event Category: None
Event ID: 10034
Date: 2/25/2008
Time: 4:44:08 PM
User: N/A
Computer: VAL-SBRIANT
Description:
Uncaught exception (see the 'inner exception' below) has suspended an
instance of service
'VendorIntegration_Orchestration.Orch_VendorProfile_VDB_Pivot(de057ced-abc0-85bf-54dd-5f58b19775e2)'.
The service instance will remain suspended until administratively resumed
or
terminated.
If resumed the instance will continue from its last persisted state and
may
re-throw the same unexpected exception.
InstanceId: e2cd6c6f-3c1c-4d05-912b-6fe173e4a00f
Shape name:
ShapeId: 166f8fed-93e0-42d6-aced-cc6dd005c896
Exception thrown from: segment 1, progress 17
Inner exception: This is an unclosed string.
Exception type: XPathException
Source: System.Xml
Target Site: System.String ScanString()
The following is a stack trace that identifies the location where the
exception occured
at MS.Internal.Xml.XPath.XPathScanner.ScanString()
at MS.Internal.Xml.XPath.XPathScanner.NextLex()
at MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseStep(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode
qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseLocationPath(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseUnaryExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode
qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode
qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseMethod(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParsePrimaryExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseFilterExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseUnaryExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode
qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode
qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput)
at MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String
xpathExpresion)
at System.Xml.XPath.XPathExpression.Compile(String xpath,
IXmlNamespaceResolver nsResolver)
at System.Xml.XPath.XPathNavigator.Evaluate(String xpath)
at Microsoft.XLANGs.Core.Part.XPathLoad(Part sourcePart, String xpath,
Type dstType)
at
VendorIntegration_Orchestration.Orch_VendorProfile_Lionstore_Mappings.segment1(StopConditions
stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
StopConditions stopCond, Exception& exp)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
I don't understand what is causing this error, the schemas were generated
using biztalk wizard Consume WCF and the service is working fine. I can
see
the response and can save it as xml and open it.
Please help.
Thanks,
Stéphanie
- Follow-Ups:
- Re: Error receiving response from WCF service
- From: Tomas Restrepo [MVP]
- Re: Error receiving response from WCF service
- References:
- Error receiving response from WCF service
- From: Stéphanie Briant
- Re: Error receiving response from WCF service
- From: Andy
- Error receiving response from WCF service
- Prev by Date: Re: Error receiving response from WCF service
- Next by Date: RE: BizTalk 2006 R2 EDIFACT - Multipart Messages
- Previous by thread: Re: Error receiving response from WCF service
- Next by thread: Re: Error receiving response from WCF service
- Index(es):
Relevant Pages
|