Hi, are you trying to create an ebRIM CSW server, that is interesting - sorry I missed your earlier emails - I have already run wsdl2java on the ebrim wsdl files, I also tried doing this with Apache Tuscany - works with Axis, not with Tuscany.
I don't think this is right forum for a discussion so perhaps we can take this offline, but if your server solution is public domain then that is interesting and I would like to know more Just f.y.i. (again apologies since this is the wrong forum) omar is spatial enabled - http://ebxmlrr.sourceforge.net/wiki/index.php/Community/ogc. Norman On Jan 10, 2008 2:53 PM, silver17 <[EMAIL PROTECTED]> wrote: > > Hi Amila, > > Your solution was correct; I replaced the Axis2 v1.3 libs with the nightly > build (snapshot) libs and everything works fine. The Eclipse plugins don't > work, but if I use the WSDL2Java in the nightly build it works as I expected > it to. > > > Amila Suriarachchi wrote: > > > > can you please try with a nightly build? If you still getting the problem > > please send your wsdl. > > > > thanks, > > Amila. > > > > On Jan 10, 2008 3:33 AM, silver17 <[EMAIL PROTECTED]> wrote: > > > >> > >> Hi Guys, > >> > >> I've searched a lot of these forum posts and haven't been able to find a > >> resolution to my problem. Currently I am using Axis 2.1.3 and Eclipse > >> Europa with the Apache Codegen wizard plugins. > >> > >> I created a WSDL that imports a couple of schemas and I'm having > >> problems. > >> When I attempt to use the wizards to generate the client stubs using a > >> URL > >> like: http://localhost:8080/app/services/RegistryPublish?wsdl I get the > >> following error: > >> > >> An error occured while completing process - > >> java.lang.InterruptedException > >> : > >> WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): > >> faultCode=OTHER_ERROR: An error occurred while trying to resolve schema > >> referenced at 'RegistryPublish?xsd=csw-Publication.xsd", relative to > >> "http://localhost:8080/app/services'<http://localhost:8080/app/services%27>.: > > >> java.io.FileNotFoundException: This > >> file was not found: > >> http://localhost:8080/app/RegistryPublish?xsd=cs-Publication.xsd > >> > >> And I don't know why it's doing that. Here's a sample of that wsdl: > >> > >> <wsdl:definitions name="RegistryPublish" > >> targetNamespace="http://services.registry.company.com/publish/"> > >> <wsdl:documentation> > >> WSDL Description for the Registry Publishing Service. > >> </wsdl:documentation> > >> > >> <wsdl:types> > >> <xsd:schema> > >> <xsd:import namespace="http://www.opengis.net/cat/csw/2.0.2" > >> schemaLocation="RegistryPublish?xsd=csw-Publication.xsd"/> > >> > >> <xsd:import namespace="http://www.opengis.net/ows/1.1" > >> schemaLocation="RegistryPublish?xsd=owsExceptionReport.xsd"/> > >> </xsd:schema> > >> </wsdl:types> > >> ....... > >> > >> My web app directory structure is: > >> > >> app->web-inf->services->RegistryPublish->META-INF > >> ... > >> csw-Publication.xsd > >> owsExceptionReport.xsd > >> RegistryPublish.wsdl > >> services.xml > >> > >> I tried using a program called SOAPUI to run a test request to that same > >> url > >> as above and it returned a successful result. > >> > >> Any thoughts? I've attached the files. > >> http://www.nabble.com/file/p14722764/RegistryPublish.wsdl > >> RegistryPublish.wsdl > >> http://www.nabble.com/file/p14722764/services.xml services.xml > >> http://www.nabble.com/file/p14722764/owsExceptionReport.xsd > >> owsExceptionReport.xsd > >> http://www.nabble.com/file/p14722764/csw-Publication.xsd > >> csw-Publication.xsd > >> > >> > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/WSDL-XSD-Schema-Importing...-tp14722764p14722764.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] > >> > >> > > > > > > -- > > Amila Suriarachchi, > > WSO2 Inc. > > > > > > -- > View this message in context: > http://www.nabble.com/WSDL-XSD-Schema-Importing...-tp14722764p14744671.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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]