selected a node which is not valid for property or distinguished f
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > selected a node which is not valid for property or distinguished f




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    selected a node which is not valid for property or distinguished f  
Nateshan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-17-05 12:47 PM

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






[ Post a follow-up to this message ]



    RE: selected a node which is not valid for property or distinguished f  
Mark


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-19-05 07:48 AM

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 edito
r
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-nam
e()='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 t
he
> 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
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:32 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register