What steps will reproduce the problem?
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
SObject so = new SObject();
so.setType("Opportunity");
so.setField("CloseDate", dateFormat.parse("1980-05-20");
so.setField("StageName", "Prospecting");
so.setField("Name", "Test Object");
connection.create(new SObject[]{ so });
What is the expected output? What do you see instead?
Expected: Opportunity object created inside salesforce.
See: Object not created, with error com.sforce.ws.SoapFaultException: Element
type "sobj:CloseDate" must be followed by either attribute specifications, ">"
or "/>".
What version of the product are you using? On what operating system?
Tried wsc-18,wsc-19,wsc-20 with partner wsdl and wsc-gae. Using Google App
Engine 1.4.0 and Window XP
Please provide any additional information below.
Original issue reported on code.google.com by qi...@jbbmobile.com on 20 Dec 2010 at 7:33
Original issue reported on code.google.com by
qi...@jbbmobile.com
on 20 Dec 2010 at 7:33