• Post Reply Bookmark Topic Watch Topic
  • New Topic

Generating WSDL with external schema in Axis 1.3 using java2wsdl  RSS feed

Leo Miko
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I searched Google for this and could not find an answer....

I have a number of services sharing the same entities, therefore I would like to use a single schema and to reference it from all my WSDLs

You can see an example for this in this tutorial: http://epubs.cclrc.ac.uk/bitstream/1545/index.html

The Person.XSD is being imported into a number of WSDL's using the following line in the WSDL:

< import namespace="http://test.wsrf.resource.sharing" schemaLocation="Person.xsd"/>

I'm generating my WSDL using ant's wsdl2java, I can not figure out how to tell wsdl2java to generate the above import line in the WSDL.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!