• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 115
  • Last Modified:

Unable to generate apex class from wsdl using Salesforce

I have two WSDLs that I would like to generate into apex classes using the "Generate from WSDL" button in Salesforce, but I'm getting an initial error that the schema is incorrect.

Unsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType

Open in new window


I have limited knowledge of working with WSDL files and wanted to see if this is an error that can be fixed or if the WSDL cannot be converted to an apex class due to types that are simply not supported in the apex language.

If so, are there other alternatives to create the apex class/methods needed? Or, is it just a manual process?

I've attached the two WSDL files saved as flat files.

Thanks for any help.
SSOws.txt
OLRws.txt
0
-Dman100-
Asked:
-Dman100-
1 Solution
 
MurpheyApplication ConsultantCommented:
Hi Dman100,

Try to import the file in SoapUI, this is a free Webservice Test/validation tool, that will help you a lot by testing and understanding the WSDL and xml data.

Go for the "SoapUI Open Source" version on:  https://www.soapui.org/downloads/latest-release.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now