WSDL Hell

The usual way of making a webservice client in Java is by feeding Axis's WSDL2JAR tool or Using the Eclipse/Netbeans IDE with  a URL that looks something like http://someurl.com/webservice.aspx?wsdl . Alternatively, you could use a WSDL file. I thought WSDLs were always manually-generated until my team lead gave me a manually-constructed one(made due to client requirements). Obviously, this is more prone to errors because it was crafted by hand. I continuously received errors in my IDE saying things like the "Response was an invalid WSDL" and 404 error. I had a hard time convincing them that it was indeed the WSDL they constructed which was the problem. In the end, I've proven myself right and we ended up using the auto-generated one instead. Very silly... But I'm glad it was over...

Published 09-20-2007 4:37 AM by lamia