You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Craig Fisher <cr...@itg-ak.com> on 2003/05/21 23:24:56 UTC

Can't find prefix for 'http://www.w3.org/1999/XMLSchema'

All:

I have a fairly simple service that I am trying to get running.  It deploys
fine but I get the following error when I try to view the WSDL no matter how
I structure the deploy.wsdd.
=================
Sorry, something seems to have gone wrong... here are the details:

Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the
Definition object using the addNamespace(...) method.:
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.userException
 faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the
Definition object using the addNamespace(...) method.:
 faultActor: null
.....
==================

Other services are running correctly on this instance of AXIS.

I am running AXIS 1.0 and the happyaxis.jsp claims that everything is fine.

I've looked around on the list and this question asked but not answered back
in October of last year.

ANY help you can give me would be great.


thanks,

Craig Fisher
InterWEST Technology Group, Inc
http://www.itg-ak.com/


Re: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'

Posted by Hugo Silva <hu...@paradigmaxis.pt>.
Hi Craig,

I have exactly the same problem!
I havent given it mutch attencion ... and my Web Service seems to be working
fine!
Did you use the WSDL2java tool? Beacuse i did and it my impression that me
be part of the problem!

Hope you find out,
Hugo Silva


----- Original Message -----
From: "Craig Fisher" <cr...@itg-ak.com>
To: <ax...@ws.apache.org>
Sent: Wednesday, May 21, 2003 10:24 PM
Subject: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'


> All:
>
> I have a fairly simple service that I am trying to get running.  It
deploys
> fine but I get the following error when I try to view the WSDL no matter
how
> I structure the deploy.wsdd.
> =================
> Sorry, something seems to have gone wrong... here are the details:
>
> Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
> 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the
> Definition object using the addNamespace(...) method.:
> AxisFault
>  faultCode: {http://xml.apache.org/axis/}Server.userException
>  faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
> 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the
> Definition object using the addNamespace(...) method.:
>  faultActor: null
> .....
> ==================
>
> Other services are running correctly on this instance of AXIS.
>
> I am running AXIS 1.0 and the happyaxis.jsp claims that everything is
fine.
>
> I've looked around on the list and this question asked but not answered
back
> in October of last year.
>
> ANY help you can give me would be great.
>
>
> thanks,
>
> Craig Fisher
> InterWEST Technology Group, Inc
> http://www.itg-ak.com/
>
>
>