cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Import .wsdl with Imported Schemas (.wsdl found to be invalid)

Highlighted
Community Hero

Cannot Import .wsdl with Imported Schemas (.wsdl found to be invalid)

Hey,

 

Can't believe I've never stumbled across this before - but I'm trying to import a .wsdl with namespace/schema references that are imported rather than the alternative option of inlining the schema references instead.

 

However - the import of the .wsdl is failing and I believe it's because the schema is being imported resulting in the .wsdl file not being schema valid (cos certain elements reference the imported namespace - the elements cannot be found).

 

I haven't got a copy of the imported schema so cant convert to 'inline'.

 

I've tried remapping the offending elements to a different namespace but that didn't work.

 

I knew that trying to import a malformed xml file (beit .xsd, .xml, .wsdl or whatever) would result in the file not being loaded in successfully - but Id never actually tried importing a file that is found as schema invalid.

 

I now know readyapi! needs the .wsdl to be schema valid as well as wellformed - but I was wondering if anyone had a work around that didn't include obtaining the offending schema (new job - it could be weeks before I have access to the relevant schema)???

 

thankyou!

 

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
2 REPLIES 2
Highlighted
Community Manager

I wonder what the reason could be.

@msiadak @HimanshuTayal @avidCoder @nmrao could you take a look at this and help Richie out?🙂


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Community Manager

Hi @richie !

 

Could you record a short video of your actions to better understand the scenario?


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get a full Raw JMS request

Participate!

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors