2

Can someone explain whats the meaning 1, 1 in the following type info? and also false meaning not required type?

private String[] type_x_type_info = new String[]{'type','urn:sobject.partner.soap.sforce.com','string','1','1','false'};

Thanks

1 Answer 1

2

You can find these details in the source code of Wsdl2Apex. In particular, you want to look of references to TYPE_INFO_PREFIX.

Generally it will be:

  • XML Element Name
  • Namespace for base type
  • XML Type
  • minOccurs
  • maxOccurs
  • isNillable

Have a look at What are the parameters for the Salesforce WebServiceCallout.invoke method?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .