2 Replies Latest reply on Dec 16, 2011 2:17 PM by ray.rechtin

    interface creation fails after installing NPM 10.2

    ray.rechtin

      Prior to installing NPM 10.2, I had a script that would successfully allow you to add or delete nodes and interfaces from Orion.  In order to correct an unrelated issue, we upgraded our development environment to 10.2, and now the script fails when attempting to add an interface.  Below, find the soap envelope that is sent for the request (this has not changed...), as well as the fault response received.  There are no newlines actually present in the request, i have edited it for readability.

       

      <?xml version="1.0" encoding="UTF-8"?>

      <soap:Envelope xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://schemas.solarwinds.com/2007/08/informationservice" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">

      <soap:Body>

      <tns:Create>

      <entityType xmlns="http://schemas.solarwinds.com/2007/08/informationservice" xsi:type="xsd:string">Orion.NPM.Interfaces</entityType>

      <properties xmlns="http://schemas.solarwinds.com/2007/08/informationservice">

      <item>

      <key>NodeID</key>

      <type>System.String</type>

      <value>46</value>

      </item>

      <item>

      <key>ifName</key>

      <type>System.String</type>

      <value>Fa0/12</value>

      </item>

      </properties>

      </tns:Create>

      </soap:Body>

      </soap:Envelope>

       

      <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

      <s:Header><log xmlns="http://schemas.solarwinds.com/2007/08/informationservice"/></s:Header>

      <s:Body>

      <s:Fault>

      <faultcode>s:Client</faultcode>

      <faultstring xml:lang="en-US">Create failed, check fault information.</faultstring>

      <detail>

      <InformationServiceFaultContract xmlns="http://schemas.solarwinds.com/2007/08/informationservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

      <Message>Column name 'IfName' appears more than once in the result column list.</Message>

      </InformationServiceFaultContract>

      </detail>

      </s:Fault>

      </s:Body>

      </s:Envelope>