axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Barker" <norman.bar...@gmail.com>
Subject Re: WSDL XSD Schema Importing...
Date Thu, 10 Jan 2008 22:13:51 GMT
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 <silver_17@hotmail.com> 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 <silver_17@hotmail.com> 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: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >>
> >
> >
> > --
> > 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message