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

Did you like this post or found it useful? Considering supporting this Blog to keep its web servers running, any amount helps! Thanks!
Have comments or feedback on what I wrote? Please share them below!
comments powered by Disqus
Other posts you may like...