| Ram Krishna Tripathi 2006-05-08, 8:06 am |
| Hello friends,
I am using the .NET web service studio tool , to pass the SOAP message to
the salesforce.com webservice.
When I pass the SOAP message request then it gives the following error
message
"INVALID_TYPE: Must send a concrete entity type."
SOAP Request and SOAP Response are given below.
So please tell me what could be reason for this.
Thanks and Regards
Ram Krishna Tripathi
ramkrishnatripathi@gmail.com
=============
SOAP Request:---->
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance">
<soapenv:Header>
<ns1:SessionHeader soapenv:mustUnderstand="0"
xmlns:ns1="urn:enterprise.soap.sforce.com">
<ns2:sessionId
xmlns:ns2="urn:enterprise.soap.sforce.com"> kArpa6XqIjEq5_T_xIHGpBBaJJG_BWR7o6Ym60MA
K79ozw_GMukp83UOf9IEWPIC5ORQ4C0DCWC2w3pW
CsOhqmpYnKO9AsNCSeX5jsUoLXQ=</ns2:sessionId>
</ns1:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<create xmlns="urn:enterprise.soap.sforce.com">
<sObjects xsi:type="ns3:Account"
xmlns:ns3="urn:sobject.enterprise.soap.sforce.com">
<ns3:AccountNumber>0000010</ns3:AccountNumber>
<ns3:BillingCity>Wichita</ns3:BillingCity>
<ns3:BillingCountry>US</ns3:BillingCountry>
<ns3:BillingPostalCode>87901</ns3:BillingPostalCode>
<ns3:BillingState>KA</ns3:BillingState>
<ns3:BillingStreet>4322 Haystack
Boulevard</ns3:BillingStreet>
<ns3:Description>World class hay makers.</ns3:Description>
<ns3:Fax>555.555.5555</ns3:Fax>
<ns3:Industry>Farming</ns3:Industry>
<ns3:Name>Golden Straw</ns3:Name>
<ns3:NumberOfEmployees>40</ns3:NumberOfEmployees>
<ns3:Ownership>Privately Held</ns3:Ownership>
<ns3:Phone>666.666.6666</ns3:Phone>
<ns3:Website>www.oz.com</ns3:Website>
</sObjects>
</create>
</soapenv:Body>
</soapenv:Envelope>
===========
SOAP Response:----->
<?xml version="1.0" encoding="utf-16"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:sf="urn:fault.enterprise.soap.sforce.com">
<soapenv:Body>
<soapenv:Fault>
<faultcode>sf:INVALID_TYPE</faultcode>
<faultstring>INVALID_TYPE: Must send a concrete entity
type.</faultstring>
<detail>
<sf:fault xsi:type="sf:InvalidSObjectFault">
<sf:exceptionCode>INVALID_TYPE</sf:exceptionCode>
<sf:exceptionMessage>Must send a concrete entity
type.</sf:exceptionMessage>
<sf:row>-1</sf:row>
<sf:column>-1</sf:column>
</sf:fault>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
|