Error receiving response from WCF service

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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

.



Relevant Pages

  • Re: Error receiving response from WCF service
    ... It looks like Biztalk can't interprete the response from the WCF ... I'm testing call to WCF service using WCF Ws_Http adapter, ... Uncaught exception has suspended an ... at MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput) ...
    (microsoft.public.biztalk.general)
  • Re: Error receiving response from WCF service
    ... I'm testing call to WCF service using WCF Ws_Http adapter, ... Uncaught exception has suspended an ... at MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput) ... at System.Xml.XPath.XPathExpression.Compile(String xpath, ...
    (microsoft.public.biztalk.general)
  • expression shape with xpath throwing expection "...invalid token..
    ... progress 35 ... Exception type: XPathException ... at MS.Internal.Xml.XPath.XPathParser.ParsePrimaryExpr(AstNode qyInput) ...
    (microsoft.public.biztalk.general)
  • RE: expression shape with xpath throwing expection "..invalid token.."
    ... the solution, in BTS Administrator configure and start, then test with a data ... Exception type: XPathException ... at MS.Internal.Xml.XPath.XPathParser.ParsePrimaryExpr(AstNode qyInput) ...
    (microsoft.public.biztalk.general)