Comments (7)
I have the same error on Order and Contract. Any idea?
from wsc.
Just wanted to point out that I am still encountering this issue as well as of API version 32.0.
from wsc.
I am also seeing this error when trying to unmarshal the Contract object using the following metadata file which I get directly from a retrieve call
<?xml version="1.0" encoding="UTF-8"?>
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata">
<actionOverrides>
<actionName>Activate</actionName>
<type>Default</type>
</actionOverrides>
<actionOverrides>
<actionName>CancelEdit</actionName>
<type>Default</type>
</actionOverrides>
<actionOverrides>
<actionName>ChangeStatus</actionName>
<type>Default</type>
</actionOverrides>
<actionOverrides>
<actionName>Clone</actionName>
<type>Default</type>
</actionOverrides>
<actionOverrides>
<actionName>Delete</actionName>
<type>Default</type>
</actionOverrides>
<actionOverrides>
<actionName>Edit</actionName>
<type>Default</type>
</actionOverrides>
<actionOverrides>
<actionName>Follow</actionName>
<type>Default</type>
</actionOverrides>
<actionOverrides>
<actionName>List</actionName>
<type>Default</type>
</actionOverrides>
<actionOverrides>
<actionName>New</actionName>
<type>Default</type>
</actionOverrides>
<actionOverrides>
<actionName>SaveEdit</actionName>
<type>Default</type>
</actionOverrides>
<actionOverrides>
<actionName>Tab</actionName>
<type>Default</type>
</actionOverrides>
<actionOverrides>
<actionName>Terminate</actionName>
<type>Default</type>
</actionOverrides>
<actionOverrides>
<actionName>View</actionName>
<type>Default</type>
</actionOverrides>
<compactLayoutAssignment>SYSTEM</compactLayoutAssignment>
<enableFeeds>false</enableFeeds>
<fields>
<fullName>AccountId</fullName>
<trackHistory>true</trackHistory>
<type>Lookup</type>
</fields>
<fields>
<fullName>ActivatedById</fullName>
<trackHistory>false</trackHistory>
<type>Lookup</type>
</fields>
<fields>
<fullName>ActivatedDate</fullName>
<trackHistory>false</trackHistory>
</fields>
<fields>
<fullName>BillingAddress</fullName>
<trackHistory>true</trackHistory>
</fields>
<fields>
<fullName>CompanySignedDate</fullName>
<trackHistory>true</trackHistory>
</fields>
<fields>
<fullName>CompanySignedId</fullName>
<trackHistory>true</trackHistory>
<type>Lookup</type>
</fields>
<fields>
<fullName>ContractTerm</fullName>
<trackHistory>true</trackHistory>
</fields>
<fields>
<fullName>CustomerSignedDate</fullName>
<trackHistory>true</trackHistory>
</fields>
<fields>
<fullName>CustomerSignedId</fullName>
<trackHistory>true</trackHistory>
<type>Lookup</type>
</fields>
<fields>
<fullName>CustomerSignedTitle</fullName>
<trackHistory>true</trackHistory>
</fields>
<fields>
<fullName>Description</fullName>
<trackHistory>true</trackHistory>
</fields>
<fields>
<fullName>EndDate</fullName>
<trackHistory>true</trackHistory>
</fields>
<fields>
<fullName>Name</fullName>
<trackHistory>true</trackHistory>
</fields>
<fields>
<fullName>OwnerExpirationNotice</fullName>
<trackHistory>true</trackHistory>
</fields>
<fields>
<fullName>OwnerId</fullName>
<trackHistory>true</trackHistory>
<type>Lookup</type>
</fields>
<fields>
<fullName>ShippingAddress</fullName>
<trackHistory>true</trackHistory>
</fields>
<fields>
<fullName>SpecialTerms</fullName>
<trackHistory>true</trackHistory>
</fields>
<fields>
<fullName>StartDate</fullName>
<trackHistory>true</trackHistory>
</fields>
<fields>
<fullName>Status</fullName>
<picklist>
<picklistValues>
<fullName>In Approval Process</fullName>
<default>false</default>
</picklistValues>
<picklistValues>
<fullName>Activated</fullName>
<default>false</default>
</picklistValues>
<picklistValues>
<fullName>Draft</fullName>
<default>false</default>
</picklistValues>
<restrictedPicklist>true</restrictedPicklist>
<sorted>false</sorted>
</picklist>
<trackHistory>true</trackHistory>
<type>Picklist</type>
</fields>
<listViews>
<fullName>AllActivatedContracts</fullName>
<filterScope>Everything</filterScope>
<filters>
<field>CONTRACT.STATUS_CODE</field>
<operation>equals</operation>
<value>A</value>
</filters>
<label>All Activated Contracts</label>
</listViews>
<listViews>
<fullName>AllContracts</fullName>
<filterScope>Everything</filterScope>
<label>All Contracts</label>
</listViews>
<listViews>
<fullName>AllDraftContracts</fullName>
<filterScope>Everything</filterScope>
<filters>
<field>CONTRACT.STATUS_CODE</field>
<operation>equals</operation>
<value>D</value>
</filters>
<label>All Draft Contracts</label>
</listViews>
<listViews>
<fullName>AllInApprovalContracts</fullName>
<filterScope>Everything</filterScope>
<filters>
<field>CONTRACT.STATUS_CODE</field>
<operation>equals</operation>
<value>P</value>
</filters>
<label>All In Approval Contracts</label>
</listViews>
<listViews>
<fullName>MyActivatedContracts</fullName>
<filterScope>Mine</filterScope>
<filters>
<field>CONTRACT.STATUS_CODE</field>
<operation>equals</operation>
<value>A</value>
</filters>
<label>My Activated Contracts</label>
</listViews>
<listViews>
<fullName>MyDraftContracts</fullName>
<filterScope>Mine</filterScope>
<filters>
<field>CONTRACT.STATUS_CODE</field>
<operation>equals</operation>
<value>D</value>
</filters>
<label>My Draft Contracts</label>
</listViews>
<listViews>
<fullName>MyInApprovalContracts</fullName>
<filterScope>Mine</filterScope>
<filters>
<field>CONTRACT.STATUS_CODE</field>
<operation>equals</operation>
<value>P</value>
</filters>
<label>My In Approval Contracts</label>
</listViews>
<searchLayouts>
<customTabListAdditionalFields>CONTRACT.CONTRACT_NUMBER</customTabListAdditionalFields>
<customTabListAdditionalFields>CONTRACT.NAME</customTabListAdditionalFields>
<customTabListAdditionalFields>SALES.ACCOUNT.NAME</customTabListAdditionalFields>
<customTabListAdditionalFields>CONTRACT.STATUS</customTabListAdditionalFields>
<lookupDialogsAdditionalFields>CONTRACT.CONTRACT_NUMBER</lookupDialogsAdditionalFields>
<lookupDialogsAdditionalFields>CONTRACT.NAME</lookupDialogsAdditionalFields>
<lookupDialogsAdditionalFields>CORE.USERS.ALIAS</lookupDialogsAdditionalFields>
<lookupPhoneDialogsAdditionalFields>CONTRACT.CONTRACT_NUMBER</lookupPhoneDialogsAdditionalFields>
<lookupPhoneDialogsAdditionalFields>CONTRACT.NAME</lookupPhoneDialogsAdditionalFields>
<lookupPhoneDialogsAdditionalFields>CORE.USERS.ALIAS</lookupPhoneDialogsAdditionalFields>
<searchResultsAdditionalFields>CONTRACT.CONTRACT_NUMBER</searchResultsAdditionalFields>
<searchResultsAdditionalFields>CONTRACT.NAME</searchResultsAdditionalFields>
</searchLayouts>
<sharingModel>ReadWrite</sharingModel>
</CustomObject>
from wsc.
I also have this error using API version 33.0
from wsc.
On API 34 on Contract - still exists
from wsc.
Same here on API 36. It is impossible to retrieve the (unchanged standard) Contract metadata. The same error message as in the original post still appears.
from wsc.
You need to modify the metadata WSDL generated. Replace xsd:complexType name="Picklist" tag by:
<xsd:complexType name="Picklist">
<xsd:sequence>
<xsd:element name="controllingField" minOccurs="0" type="xsd:string"/>
<xsd:element name="picklistValues" minOccurs="0" maxOccurs="unbounded" type="tns:PicklistValue"/>
<xsd:element name="restrictedPicklist" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="sorted" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
After that, you can generate the metadata.jar from the metadata.xml
from wsc.
Related Issues (20)
- Provide a way to get original(raw) response for non-SOAP/HTML content in response HOT 2
- Getting error "Encountered HTML Content when looking for http://schemas.xmlsoap.org/soap/envelope/:Envelope"
- ConnectionException does not show exception message when calling getMessage() HOT 1
- Can't build jar API 54 HOT 1
- commons-logging:1.2 log4j 1.2.17 vulnerability
- Unexpected element. Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Fault' but found 'urn:partner.soap.sforce.com:describeSObjectResponse' HOT 2
- Upgrade from older versions (v37)
- Unable to initialize main class HOT 1
- Help with import after building the .jar HOT 1
- Add field enum to aid in querying
- Getting NoSuchMethodError on new EnterpriseConnection HOT 1
- Why is the Force Tooling API not maintained in MvnRepository? HOT 1
- Unable to complete the pull-request CLA signing process HOT 1
- Update WSDLC Documentation
- Issues with geolocation fields and picklist value sets HOT 1
- getBirthDate() returns java.util.GregorianCalendar with wrong timezome HOT 3
- Error calling Salesforce endpoint from external system using soap api, UnexpectedErrorFault
- JobInfo is missing attribute errorMessage
- Some tests generate failures due to trailing space HOT 1
- Error when compiling Tooling API Java Bindings (enum constant value starting with the number) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsc.