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 Javier V <ja...@hotmail.com> on 2007/04/24 02:09:12 UTC

Problem with TargetNameSpace

Hi.

I had an example in Axis2 1.0 with RPCMessageReceiver.
I've installed Axis2 1.1.1 and that same example doesn't work, giving the 
error:

org.apache.axis2.AxisFault: namespace mismatch require 
http://travel.ws.gt.com/xsd
found http://GtTravel.travel.ws.gt.com/types

(the impl class is in the package "travel.ws.gt.com")

After reading the documentation I've included the attribue targetNameSpace
in the services.xml :

<service name="GtTravel" scope="request" 
targetNamespace="http://GtTravel.travel.ws.gt.com/types">

but the same error occurs, and in the WSDL all is referenced to that 
targetNameSpace too.

Any ideas?

Thanks in advance,

Janfry

_________________________________________________________________
Un amor, una aventura, compañía para un viaje. Regístrate gratis en MSN Amor 
& Amistad. http://match.msn.es/match/mt.cfm?pg=channel&tcid=162349


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


Re: Problem with TargetNameSpace

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Javier ,

As I can see there is a bug in the code , any way you have two option
 - Check with latest nightly builds
 - Send the req with "http://travel.ws.gt.com/xsd " namespace.

Thanks
Deepal

> Hi.
>
> I had an example in Axis2 1.0 with RPCMessageReceiver.
> I've installed Axis2 1.1.1 and that same example doesn't work, giving
> the error:
>
> org.apache.axis2.AxisFault: namespace mismatch require
> http://travel.ws.gt.com/xsd
> found http://GtTravel.travel.ws.gt.com/types
>
> (the impl class is in the package "travel.ws.gt.com")
>
> After reading the documentation I've included the attribue
> targetNameSpace
> in the services.xml :
>
> <service name="GtTravel" scope="request"
> targetNamespace="http://GtTravel.travel.ws.gt.com/types">
>
> but the same error occurs, and in the WSDL all is referenced to that
> targetNameSpace too.
>
> Any ideas?
>
> Thanks in advance,
>
> Janfry
>
> _________________________________________________________________
> Un amor, una aventura, compañía para un viaje. Regístrate gratis en
> MSN Amor & Amistad.
> http://match.msn.es/match/mt.cfm?pg=channel&tcid=162349
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



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