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

A quick disclaimer...

Although I put in a great effort into researching all the topics I cover, mistakes can happen. Use of any information from my blog posts should be at own risk and I do not hold any liability towards any information misuse or damages caused by following any of my posts.

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.
Hi! You can search my blog here ⤵
NOTE: (2022) This Blog is no longer maintained and I will not be answering any emails or comments.

I am now focusing on Atari Gamer.