Hi Dave, If you get the following WSDL at http://foo.com/axis2/services/Example?wsdland if http://foo.com/axis2/services/Example?xsd=example.xsd gets you the schema I don't see an issue with what axis2 generates for you. May be I misread what you meant. Could you elaborate more please.
Thanks, Keith. On Wed, Aug 27, 2008 at 8:34 PM, Davefeeder <[EMAIL PROTECTED]> wrote: > > I am writing an application which uses Axis2 and I'm having a problem with > the WSDL that Axis generates using "?wsdl" at the webservice url. > The imported schemas are referenced as relative to the hosting machine, > rather than fully qualified with a complete url, eg: > <xsd:schema> > <xsd:import namespace="http://example.co.uk/namespace/1" > schemaLocation="Example?xsd=example.xsd"/> > </xsd:schema> > > Instead of: > <xsd:schema> > <xsd:import namespace="http://example.co.uk/namespace/1" > schemaLocation="Example?xsd=http://192.0.0.1/example.xsd"/> > </xsd:schema> > > I can't hard code the IP address and force Axis to return the WSDL I've > written, as it's going to be run on different machines each time. > > I've found people that have had similar issues, but none which were > resolved > without hard coding the fully qualified schema location in the original > WSDL. > > Can anyone help? > > Many thanks, > > Dave > -- > View this message in context: > http://www.nabble.com/Axis-generated-WSDL-not-importing-schema-correctly-tp19182932p19182932.html > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
