Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Soap request for create the Organization (6 Comments)

$
0
0

Topic by Prabhat Ranjan

HI,

I am sending this soap requst to create Organization.

 <ns7:Create xmlns:ns7="urn:messages.ws.rightnow.com/v1.1">
    <ns7:RNObjects xmlns:p0="urn:objects.ws.rightnow.com/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:type="p0:Organization">
       <p0:Addresses xmlns="urn:objects.ws.rightnow.com/v1.1">
          <p0:TypedAddressList>
              <p0:City>patna</p0:City>
             <p0:Country>
                 <p0:Name xmlns="urn:base.ws.rightnow.com/v1.1">India</p0:Name>
              </p0:Country>
             <p0:StateOrProvince>
                 <p0:Name xmlns="urn:base.ws.rightnow.com/v1.1">Bihar</p0:Name>
              </p0:StateOrProvince>
             <p0:AddressType></p0:AddressType>
           </p0:TypedAddressList>
        </p0:Addresses>
        <p0:Name xmlns="urn:objects.ws.rightnow.com/v1.1">Sample123</p0:Name>
     </ns7:RNObjects>
  </ns7:Create>

I am getting this response.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Sender</faultcode>
         <faultstring>Data element in the Message is NULL</faultstring>
         <detail>
            <fault>RightNowSyncService|urn:wsdl.ws.rightnow.com/v1.1 failed
Found out-of-order or unrecognized node Addresses|urn:objects.ws.rightnow.com/v1.1 while parsing node of type RNObject|urn:base.ws.rightnow.com/v1.1
Failed in constructing object CreateMsg : NULL input can not be deserialized
Failed in setting value for element RNObjects array position 0 of object CreateMsg
Failure in setting value for object Create element Create of type messages_ws_rightnow_com_v1_1::CreateMsg
NULL returned from the Create deserializer due to missing or invalid XML</fault>
         </detail>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

 

Could you please tell me what could be issue...Is my soap request is not proper ?

Appreciate your response

Thanks

Prabhat


Viewing all articles
Browse latest Browse all 2504

Trending Articles