Looks like the mapping is not being picked up by WSDL2Java. Is that
backslash after "http" a syntax error?

- venkat

On 7/14/05, Sureka, Sushil <[EMAIL PROTECTED]> wrote:
>  
>  
> 
> I posted this to user newsgroup but I was wondering is it a bug by any
> chance. 
> 
>   
> 
> Hi, 
> 
>   
> 
> We have run into an issue related to Axis Package to Namespace mapping. What
> we are trying to do is map multiple packages to the same namespaces (in
> other words different classes belongs to same namespace no matter which
> package they were defined on the java side) 
> 
>   
> 
> The issue is with deploy.wsdd. Seems like the deploy.wsdd does not remember
> the package name correctly and replaces the type with the namespace types.
> For example if I mapped the following packages 
> 
>   
> 
> com.cobaltgroup.service.webservice.vo=http\://reportns.webservice.service.cobaltgroup.com
> 
> com.cobaltgroup.services.vo=http\://reportns.webservice.service.cobaltgroup.com
> 
>   
> 
> Now the type that is generated is something like 
> 
>       <typeMapping 
> 
>        
> xmlns:ns="http://reportns.webservice.service.cobaltgroup.com";
> 
>         qname="ns:WorkflowVO" 
> 
>        
> type="java:com.cobaltgroup.service.webservice.reportns.MyVO
> 
>        
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> 
>        
> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> 
>        
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
> 
>       /> 
> 
>   
> 
> So basically instead of saying the type to be
> com.cobaltgroup.service.webservice.vo, it puts it as
> com.cobaltgroup.service.webservice.reportns.MyVO 
> 
> Because of this the deployment of services fails 
> 
>   
> 
> Any idea what is going on? 
> 
>   
> 
> Sushil

Reply via email to