axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: WSDL import and schemaLocation
Date Tue, 15 Jan 2008 04:04:37 GMT
On Jan 15, 2008 9:08 AM, prasad c iyer <prasadi@skillnetinc.com> wrote:

>  Hi,
> I am creating the client for an existing web service. My problem is the
> schemaLocation is points to the relative path. Is there a way to resolve
> this. So that my client can download the schema.
>

Are you using wsdl2java with  Axis2?  it can  handle the relative
schemaLocations. I think any tool would do this.

thanks,
Amila.

>
> <?xml version="1.0" encoding="UTF-8"?>
> <definitions name="BankServices" targetNamespace="
> http://localhost:8080/my-app/services/BankServices" xmlns="
> http://schemas.xmlsoap.org/wsdl/" xmlns:tns="
> http://localhost:8080/my-app/services/BankServices" xmlns:xsd="
> http://www.w3.org/2001/XMLSchema" xmlns:bank="
> http://localhost:8080/my-app/services/BankServices/types" xmlns:soap="
> http://schemas.xmlsoap.org/wsdl/soap/">
>   <types>
>     <xsd:schema>
>    <xsd:import namespace="
> http://localhost:8080/my-app/services/BankServices/types"
> schemaLocation="BankServices?xsd=xsd0.xsd"/>
>   </xsd:schema>
>   </types>
>
>
> regards
>
>



-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message