I'd like my java app to use JAX WS to make calls to the SOAP API for Microsoft's Live Search. The WSDL file is located at: http://soap.search.msn.com/webservices.asmx?wsdl
I download that file and called it msn.wsdl. I then ran the command "wsimport msn.wsdl", which resulted in the following error:
error: invalid WSDL file! failed to parse document at "file:/C:/dev/msn.wsdl": org.xml.sax.SAXParseException: The prefix "wsdl" for element "wsdl:definitions" is not bound.
I don't know if this is relevant or not, but the wsdl:definitions tag looks like this:
<wsdl:definitions targetNamespace="http://schemas.microsoft.com/MSNSearch/2005/09/fex">
And there is nothing at the specified URL (http://schemas.microsoft.com/MSNSearch/2005/09/fex).
Can anyone tell me what I need to do to get this working? (Better yet, has someone else already done this and created a jar file that I can download?)
I'm using jdk 1.6.0_03-b05 on Windows.