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

Hope you found this post useful...

...so please read on! I love writing articles that provide beneficial information, tips and examples to my readers. All information on my blog is provided free of charge and I encourage you to share it as you wish. There is a small favour I ask in return however - engage in comments below, provide feedback, and if you see mistakes let me know.

If you want to show additional support and help me pay for web hosting and domain name registration, donations, no matter how small, are always welcome!

Use of any information contained in this blog post/article is subject to this disclaimer.
comments powered by Disqus
Other posts you may like...