Hi all

I want to reference my schema for my ws in the WSDL using a URL, but when I
deploy the service I get this error

 AARBasedWSDLLocator: Unable to resolve http://*/EsysbioCommonSchema.xsd
[INFO] Trouble processing wsdl file :WSDLException (at
/wsdl:definitions/wsdl:types/xsd:schema/xsd:schema): faultCode=OTHER_ERROR:
Unable to locate with a locator the schema referenced at
'EsysbioCommonSchema.xsd' relative to document base 'http://
*/DataStorageSchema.xsd'

Deploying the aar when the wsdl is not using a URL to reference the schema
works fine. I know the schema is at the location and that I can fetch it
using this code

url = new URL(
                    "http://*//EsysbioCommonSchema.xsd";);

            InputStream is = url.openStream();

Can anyone help me?

cheers, Håkon

-- 
Håkon Sagehaug, Scientific Programmer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

Reply via email to