Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

wsdl2java error for OGC CS-W wsdl files  RSS feed

 
Xiaoming Lei
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there, I am trying to generate OGC CS-W web service client stub. I tried to use Axis2 wsdl2java in this way: wsdl2java -uri wsdlfile -o client. I got the following error:
Retrieving schema at 'http://schemas.opengis.net/csw/2.0.2/CSW-publication.xsd',
relative to 'file:/E:/Java/Server/apache-tomcat-6.0.20/webapps/geoportal/csw/xm
l-interfaces.wsdl'.
[WARN] Type {http://www.opengis.net/ows}AbstractMetaData missing!
[WARN] Could not find any schema type associated with the Element '{http://www.o
pengis.net/ows}AbstractMetaData'
[WARN] Type {http://www.opengis.net/gml}_Object missing!
[WARN] Type {http://www.opengis.net/gml}_Object missing!
[WARN] Could not find any schema type associated with the Element '{http://www.o
pengis.net/gml}_Object'

The wsdl files I used are here http://schemas.opengis.net/csw/2.0.2/examples/wsdl/2.0.2/
I guess the reason is that Axis2 wsdl2java gets stuck when encountering many import in some wsdl files. Any idea to fix this? Thanks a lot.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!