wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: xsd not available in deployed webservice.
 
Similar Threads
Https and wsdl
how to create java client to access web services running on https/ssl
Confusion in writing web service client + jax-ws
how to access java6 web service
Problem when create client for web services because of XSD import url