This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Services and the fly likes xsd not available in deployed webservice. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "xsd not available in deployed webservice." Watch "xsd not available in deployed webservice." New topic
Author

xsd not available in deployed webservice.

Sandeep Sundaram
Greenhorn

Joined: Mar 22, 2005
Posts: 9
Hi all,

I have the following entry in my wsdl.

<types>
<xsd:schema>
<xsd:import namespace="http://ws.abc.com/" schemaLocation="Schema.xsd"/>
</xsd:schema>
</types>

<service name="SearchService">
<port name="SearchServicePort" binding="tns:SearchServicePortBinding">
<soap:address location="http://localhost:8888/web/services/SearchServicePort"/>
</port>
</service>

when i deploy my webservice, the xsd is not available. The wsdl is coming up when i enter http://localhost:8888/web/services/SearchServicePort?wsdl
on the adress bar. but the schemalocation is not getting translated to absolute path. http://localhost:8888/web/services/Schema.xsd also doesn't work.

i use axis 1.2alpha.

any help, pointers will be appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xsd not available in deployed webservice.
 
Similar Threads
how to access java6 web service
Problem when create client for web services because of XSD import url
how to create java client to access web services running on https/ssl
Confusion in writing web service client + jax-ws
Https and wsdl