carlos.mozo

Error Tag Not Found during InsertPIData

Discussion created by carlos.mozo on Sep 3, 2013
Latest reply on Sep 4, 2013 by carlos.mozo

Hi,

 

 

 

I having problems to insert time series values in a PI Point from PI WS. I'm using InsertPIData operation:

 

This is my request:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pid="http://xml.osisoft.com/services/PIDataService">
   <soapenv:Header/>
   <soapenv:Body>
      <pid:InsertPIData>
         <!--Optional:-->
         <pid:events>
            <!--Zero or more repetitions:-->
            <pid:TimeSeries>
               <pid:TimedValues>
                  <pid:TimedValue Path="pi:\\VALVDESPISOLANA\aps_pwr_out" Time="2013-09-03T16:43:10Z" Value="15"></pid:TimedValue>
               </pid:TimedValues>
            </pid:TimeSeries>
         </pid:events>
         <pid:duplicateSwitch>InsertDuplicate</pid:duplicateSwitch>
      </pid:InsertPIData>
   </soapenv:Body>
</soapenv:Envelope>

 

I'm receiving this response:

 

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <InsertPIDataResponse xmlns="http://xml.osisoft.com/services/PIDataService">
         <InsertPIDataResult Error="0">
            <TimedValues>
               <TimedValue Path="pi:\\VALVDESPISOLANA\aps_pwr_out" Time="2013-09-03T16:43:10Z" Status="-2147219675: Failed to update events on the server. [-5] Tag Not Found"/>
            </TimedValues>
         </InsertPIDataResult>
      </InsertPIDataResponse>
   </s:Body>
</s:Envelope>

 

I can't understand this situation because I've just created the Pi Point "aps_pwr_out" and the user I'm using to connect with PI through PI WS has the piadmin role that cans read and write this PI Point.

 

This is the capture of archive editor:

 

1854.SMT.png

 

Please, could anybody help me to solve this problem?

 

Thank you in advance

Outcomes