Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

Postman is a great tool for testing your RESTful services but sometimes it just doesn't play nice. If you're trying to import a WADL generated by WebLogic you will come across this error - "Failed to import data: format not recognized". WebLogic is not doing anything wrong in this case and the problem lies with Postman.

The error is caused due to the use of a namespace on all elements inside the WADL. For some reason Postman can't process that.
postman_imperr1.png


The solution is simply to remove the namespace i.e. replace "ns0:" with an empty string...
postman_imperr2.png




As soon as that's done, Postman can import the WADL without any issues.
postman_imperr3.png


Problem solved!

-i

Skip down to comments...
A quick disclaimer...

Although I put in a great effort into researching all the topics I cover, mistakes can happen. If you spot something out of place, please do let me know.

All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle). Use of any information contained in this blog post/article is subject to this disclaimer.
 
comments powered by Disqus
Other posts you may like...