views:

39

answers:

0

I've a custom workflow which query data off web services. It seems that when the web services returns a hyphen (-), I could not be able to store the data into list, and returned workflow error. The raw data looks like this:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;&lt;soap:Body&gt;&lt;GetNameByUserLoginIDResponse xmlns="http://tempuri.org/"&gt;&lt;GetNameByUserLoginIDResult&gt;ABC DEF-GHI</GetNameByUserLoginIDResult></GetNameByUserLoginIDResponse></soap:Body></soap:Envelope>

While the XPATH to query that I've consumed: //*[local-name()='GetNameByUserLoginIDResult']

The hive shows: 05/11/2010 14:42:11.93 w3wp.exe (0x2374) 0x0248 Windows SharePoint Services Workflow Infrastructure 88xr Unexpected WinWF Internal Error, terminating workflow Id# efc2ae27-70ca-4b1d-9535-cd5fc82bec95

Any idea?