cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to import WSDL File in a new project

GEN
New Contributor

Unable to import WSDL File in a new project

 

The WSDL file is good to import in other PC,but not in mine.

There is "always" error when importing WSDL file after creating a new project.

........

Error loading [file:\C:\Users\gli\OneDrive%20-%20Amadeus%20Workplace\Desktop\WSDL\1ASIWNEFEZT_PDT_20210225_064642.zip]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Content is not allowed in prolog

.........

 

Also noticed that there is an error log after installing SOAP UI as attached..... Maybe these two are related.

4 REPLIES 4
richie
Community Hero

Re: Unable to import WSDL File in a new project

Hey @GEN,

At first glance i think all the reported errors are steering you in the wrong direction.

If youre creating a project from a .wsdl then soapui isnt expecting a binary file.....it's expecting a text file.

You say your colleague is able to load in the .wsdl fine on his machine.

Your .wsdl is compressed within a .zip archive. Did your colleague .zip the file to send to you?

Im guessing the invalid data in the prolog is cos the file headers are not whats expected cos the files zipped.

Decompress the .zip archive, extract the .wsdl and then try and load in the .wsdl from the source rather than the .zip archive.

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
GEN
New Contributor

Re: Unable to import WSDL File in a new project

Hi Richie, Thanks for your input,  It is still the same after unzip the file. Actually after unzip it become

 a file folder which couldn't be imported at one time.....

 

 

richie
Community Hero

Re: Unable to import WSDL File in a new project

Hey @GEN,

Can you send some screenshots so i can see?
There shouldnt be a folder structure in the .zip at all.
Id expect your file to have a .wsdl file extension.

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
GEN
New Contributor

Re: Unable to import WSDL File in a new project

Hi Riche,

Thank you

After extraction we can see so many XSD files and .wsdl file as well.

But importing .wsdl file alone is not working either.

 

 

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors