|
Home > Archive > BizTalk Server General > December 2005 > selected a node which is not valid for property or distinguished f
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 |
selected a node which is not valid for property or distinguished f
|
|
| Nateshan 2005-12-17, 7:47 am |
| Trying to assign value to message using xpath function.
xpath(TestMsg,"/*[local-name()='DS1_002F_HM_C_ZOILMDD2_TAS_01' and
namespace-uri()='http://DS1_002F_HM_C_ZOILMDD2_TAS_01.V3']/*[local-name()='E2OILGM000GRP'
and namespace-uri()='']/*[local-name()='E1OILGM' and
namespace-uri()='']/*[local-name()='DATAHEADERREC' and
namespace-uri()='']/*[local-name()='DOCNUM' and namespace-uri()='']") = vGUID;
I am getting the following error message when trying to assign values to the
Message.
selected a node which is not valid for property or distinguished field
retrieval,
or it selected no node at all. Only text-only elements or attributes may be
selected.
I have seen the xml instance is having nodes where I am trying to populate
the value.
Thanks in Advance
Chandra
| |
|
| Hi,
I think this is probably a good error, i.e. it tells you what is wrong. Try
setting the field you want to make a distinguished field in the schema editor
and see if it lets you. It will probably give a clearer explanation.
You can only promote field attribute and field elements. Also I don't
believe you can promote fields in a loop. I don't know exactly what in your
schema you wish to promote but E2OILGM000GRP is how the SAP Adapter encodes
loops.
m
"Nateshan" wrote:
> Trying to assign value to message using xpath function.
> xpath(TestMsg,"/*[local-name()='DS1_002F_HM_C_ZOILMDD2_TAS_01' and
> namespace-uri()='http://DS1_002F_HM_C_ZOILMDD2_TAS_01.V3']/*[local-name()='E2OILGM000GRP'
> and namespace-uri()='']/*[local-name()='E1OILGM' and
> namespace-uri()='']/*[local-name()='DATAHEADERREC' and
> namespace-uri()='']/*[local-name()='DOCNUM' and namespace-uri()='']") = vGUID;
>
> I am getting the following error message when trying to assign values to the
> Message.
>
> selected a node which is not valid for property or distinguished field
> retrieval,
> or it selected no node at all. Only text-only elements or attributes may be
> selected.
>
> I have seen the xml instance is having nodes where I am trying to populate
> the value.
>
> Thanks in Advance
> Chandra
>
|
|
|
|
|