File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Consuming biomart web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Consuming biomart web services" Watch "Consuming biomart web services" New topic

Consuming biomart web services

Huw Morgan

Joined: Mar 07, 2006
Posts: 23
I am trying to use web services served by the 'biomart' data management system. I can consume other web services easily with NetBeans by New/Web Service Client/WSDL URL and netbeans does it all for me. When I point it at any biomart (for example it fails with the error attached. It cannot find the local copy of the wsdl. I THINK it is because NetBeans expects the file to have the extension .wsdl and biomart has no extension on the file.

I have tried saving the wsdl locally and using that, and I have changed the local file to be called martwsdl.wsdl, neither of which changes the error. I cannot find anything in the WSDL Customisation dialog that helps. Putting a copy of martwsdl in the directory xml-resources\web-service-references\martwsdl\wsdl\\biomart makes no difference (it saves a copy of the wsdl file there called martwsdl.wsdl).

Does anyone have any ideas how I can consume these web services?

I am using NetBeans 6.8, java 1.6.0_17.

[Thumbnail for wsError.JPG]

I agree. Here's the link:
subject: Consuming biomart web services
It's not a secret anymore!