Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

JAX-WS: SAXParseException parsing MSN Search WSDL file

843833Oct 18 2007 — edited Oct 18 2007
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 15 2007
Added on Oct 18 2007
1 comment
638 views