E
Erik
Does anyone know why this happens? When returning the XML string through the
webservice the XML string is filled with escape characters:
XML string before webservice transfer:
<Node ObjectID="d0bf7c3a-5305-4020-be1f-75bcb23adab4"
MasterID="d8665536-2ebe-4bd8-a176-9fc53ab8fadf"
ParentID="f5ea1f44-5cbf-44d9-846d-74a81ec57786" ObjectName="Folder1"
ObjectTypeID="afed7347-d07e-44b4-b467-3a15dbd8dfbc"
ObjectTypeName="lblFolder" ObjectTypeIconsName="folder"
TemplatePath="abc.aspx" Children="161" ChildsVisibleInTree="1">
XML string after webservice transfer (browser):
<Node ObjectID=\"d0bf7c3a-5305-4020-be1f-75bcb23adab4\"
MasterID=\"d8665536-2ebe-4bd8-a176-9fc53ab8fadf\"
ParentID=\"f5ea1f44-5cbf-44d9-846d-74a81ec57786\" ObjectName=\"Folder1\"
ObjectTypeID=\"afed7347-d07e-44b4-b467-3a15dbd8dfbc\"
ObjectTypeName=\"lblFolder\" ObjectTypeIconsName=\"folder\"
TemplatePath=\"abc.aspx.aspx\" Children=\"161\" ChildsVisibleInTree=\"1\">
Example 2:
Before transfer:
<Node ObjectID="43d3bd44-4a53-4fdb-bf68-68bb679f0c60"
MasterID="e595fb24-3d6f-4ffb-a86f-3f97f90ee84f"
ParentID="d8665536-2ebe-4bd8-a176-9fc53ab8fadf" ObjectName="a text.
Kompetenscentrum
Erfarenheter och möjligheter"
ObjectTypeID="28f907bd-3981-4540-8bd4-3c673f8362ec"
ObjectTypeName="lblDocument" ObjectTypeIconsName="document" TemplatePath=""
Children="0" ChildsVisibleInTree="1" />
after:
<Node ObjectID=\"43d3bd44-4a53-4fdb-bf68-68bb679f0c60\"
MasterID=\"e595fb24-3d6f-4ffb-a86f-3f97f90ee84f\"
ParentID=\"d8665536-2ebe-4bd8-a176-9fc53ab8fadf\" ObjectName=\"a text.
Kompetenscentrum Erfarenheter och möjligheter\"
ObjectTypeID=\"28f907bd-3981-4540-8bd4-3c673f8362ec\"
ObjectTypeName=\"lblDocument\" ObjectTypeIconsName=\"document\"
TemplatePath=\"\" Children=\"0\" ChildsVisibleInTree=\"1\"/>
Any clues?
Rgrds
Erik
webservice the XML string is filled with escape characters:
XML string before webservice transfer:
<Node ObjectID="d0bf7c3a-5305-4020-be1f-75bcb23adab4"
MasterID="d8665536-2ebe-4bd8-a176-9fc53ab8fadf"
ParentID="f5ea1f44-5cbf-44d9-846d-74a81ec57786" ObjectName="Folder1"
ObjectTypeID="afed7347-d07e-44b4-b467-3a15dbd8dfbc"
ObjectTypeName="lblFolder" ObjectTypeIconsName="folder"
TemplatePath="abc.aspx" Children="161" ChildsVisibleInTree="1">
XML string after webservice transfer (browser):
<Node ObjectID=\"d0bf7c3a-5305-4020-be1f-75bcb23adab4\"
MasterID=\"d8665536-2ebe-4bd8-a176-9fc53ab8fadf\"
ParentID=\"f5ea1f44-5cbf-44d9-846d-74a81ec57786\" ObjectName=\"Folder1\"
ObjectTypeID=\"afed7347-d07e-44b4-b467-3a15dbd8dfbc\"
ObjectTypeName=\"lblFolder\" ObjectTypeIconsName=\"folder\"
TemplatePath=\"abc.aspx.aspx\" Children=\"161\" ChildsVisibleInTree=\"1\">
Example 2:
Before transfer:
<Node ObjectID="43d3bd44-4a53-4fdb-bf68-68bb679f0c60"
MasterID="e595fb24-3d6f-4ffb-a86f-3f97f90ee84f"
ParentID="d8665536-2ebe-4bd8-a176-9fc53ab8fadf" ObjectName="a text.
Kompetenscentrum
Erfarenheter och möjligheter"
ObjectTypeID="28f907bd-3981-4540-8bd4-3c673f8362ec"
ObjectTypeName="lblDocument" ObjectTypeIconsName="document" TemplatePath=""
Children="0" ChildsVisibleInTree="1" />
after:
<Node ObjectID=\"43d3bd44-4a53-4fdb-bf68-68bb679f0c60\"
MasterID=\"e595fb24-3d6f-4ffb-a86f-3f97f90ee84f\"
ParentID=\"d8665536-2ebe-4bd8-a176-9fc53ab8fadf\" ObjectName=\"a text.
Kompetenscentrum Erfarenheter och möjligheter\"
ObjectTypeID=\"28f907bd-3981-4540-8bd4-3c673f8362ec\"
ObjectTypeName=\"lblDocument\" ObjectTypeIconsName=\"document\"
TemplatePath=\"\" Children=\"0\" ChildsVisibleInTree=\"1\"/>
Any clues?
Rgrds
Erik