Quantcast
Viewing all articles
Browse latest Browse all 2504

Found out-of-order or unrecognized node Name

Topic by Tushar Kapadi

Hello,

 

I am trying to create Organization in RightNow using webMethods middleware, but getting following message:

 

RightNowSyncService|urn:wsdl.ws.rightnow.com/v1_2 failed
Found out-of-order or unrecognized node Name|urn:objects.ws.rightnow.com/v1_2 while parsing node of type RNObject|urn:base.ws.rightnow.com/v1_2
NULL value is set to a non-nillable element RNObjects of object CreateMsg
Failed in setting value for element RNObjects array position 0 of object CreateMsg
NULL value is set to a non-nillable element Create of object Create
NULL returned from the Create deserializer due to missing or invalid XML

 

Request in webMethods:

<record javaclass="com.wm.util.Values">
    <record name="rnm_v1_2:Create" javaclass="com.wm.data.ISMemDataImpl">
      <array name="rnm_v1_2:RNObjects" type="record" depth="1">
        <record javaclass="com.wm.data.BasicData">
          <value name="@xsi:type">rno_v1_2:Organization</value>
          <value name="rno_v1_2:Name">TusharTest2</value>
        </record>
      </array>
    </record>
    <record name="auth" javaclass="com.wm.data.ISMemDataImpl">
      <record name="message" javaclass="com.wm.data.ISMemDataImpl">
        <value name="user">XXXXX</value>
        <value name="pass">XXXXX</value>
      </record>
    </record>
    <record name="ClientInfoHeader" javaclass="com.wm.data.ISMemDataImpl">
      <record name="rnm_v1_2:ClientInfoHeader" javaclass="com.wm.data.ISMemDataImpl">
        <value name="rnm_v1_2:AppID">TESTOrg</value>
      </record>
    </record>

 

Simlar SOAP request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns2="urn:generic.ws.rightnow.com/v1_2" xmlns:ns7="urn:messages.ws.rightnow.com/v1_2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Header>
      <ns7:ClientInfoHeader soapenv:mustUnderstand="0">
         <ns7:AppID>Generic Create Sample</ns7:AppID>
      </ns7:ClientInfoHeader>
      <wsse:Security mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <wsse:UsernameToken>
            <wsse:Username>XXXX</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXX</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <ns7:Create>
         <ns7:RNObjects xsi:type="ns4:Organization" xmlns:ns4="urn:objects.ws.rightnow.com/v1_2">
            <ns4:Name>TusharTest2</ns4:Name>
         </ns7:RNObjects>        
      </ns7:Create>
   </soapenv:Body>
</soapenv:Envelope>

 

Any help would be appreciated.

Thanks,

--Tushar


Viewing all articles
Browse latest Browse all 2504

Trending Articles