function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
anzar_crmanzar_crm 

Partner WSDL import

Hi,

 

The Partner or Enterprise SFDC WSDL failed when imported into soap ui client. Here is the error thrown by soap ui. Any help, please ?

 

Error loading [file:/C:/Documents%20and%20Settings/Bureau/SalesForce.wsdl]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Use of undefined namespace prefix: xsd

 

All the best,

 

Anzar,


UVUV

Did you modify the wsdl??? 

I have generated soapUI project many times using salesforce wsdl's without any issue.

Please generate the new wsdl and try again...

anzar_crmanzar_crm

Indeed the issue is when i tried to import the WSDL for a sample APEX class. I generated the WSDL related the the following class:

 

global class MyWebService {
      webservice static Id makeContact(String lastName, Account a){
        Contact c= new Contact(lastName= 'Weissman',AccountId = a.Id);
        insert c;
        return c.id;
      }
    }

 When i add this WSDL to a SOAP UI projet, than it fails.

anzar_crmanzar_crm

Any help please!