Can you try with this, can you use wsdl2java tool to with your wsdl. the idea is wsdl2java tool uses the same code which deployer use to build the axis object structure.
Amila. On 8/31/07, Linus Kamb <[EMAIL PROTECTED]> wrote: > > I am running Axis2 1.3 on Tomcat 5.5.23 on Mac OSX. > > I get the following in catalina.out: > > [INFO] AARBasedWSDLLocator: Unable to resolve > http://schemas.opengis.net/gml/3.1.1/base/geometryAggregates.xsd > [INFO] Trouble processing wsdl file :WSDLException (at > /wsdl:definitions/wsdl:types/schema/xs:schema/xsd:schema): > faultCode=OTHER_ERROR: Unable to locate with a locator the schema > referenced at '../../gml/3.1.1/base/geometryAggregates.xsd' relative to > document base 'http://schemas.opengis.net/filter/1.1.0/filter.xsd' > > This, I believe, causes the request for the service wsdl to come back > with an error: > <error> > <description>Unable to generate WSDL 1.1 for this service</description> > <reason> > If you wish Axis2 to automatically generate the WSDL 1.1, then please > +set useOriginalwsdl as false in your services.xml > </reason> > </error> > > I do not want Axis2 to automatically generate the WSDL. I want it to > use the original WSDL, which is available. useOriginalwsdl is set to > true. > > There are a number Jira issues about finding wsdl schemas at relative > URLs which are all said to be resolved. Obviously, this is not the case. > > The above schema which the locator fails to find does indeed exist at > that URL. > > In this scenario, the wsdl imports a schema via complete URL. That > schema in turn imports schemas via complete URL. These other schemas, > however, import additional schemas via relative URLs, and that is where > the failure occurs. These outside schemas are public and permanent. > > Is this going to be fixed, or should I reopen one or many of the Jira > issues? > > This failure happens in both 1.2 and in 1.3. > > > Thanks, > Linus > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Amila Suriarachchi, WSO2 Inc.