With org.apache.cxf.aegis.type.java5.XmlAttribute:

@XmlAttribute(name = "id")
public Long getId() {
    return this.id;
} 

-----Original Message-----
From: Benson Margulies [mailto:[EMAIL PROTECTED] 
Sent: 08 May 2008 01:42
To: [email protected]
Subject: Re: Namespaces on attributes

I didn't know Aegis would ever put things into attributes at all, with
or without namespaces.

What is the java declaration of the thing that turns into an attribute
with a namespace?

On Wed, May 7, 2008 at 7:13 AM, Richard Grantham
<[EMAIL PROTECTED]> wrote:
> I'm running 2.0.6. I assume I need to set  
> attributeFormDefault="unqualified" somewhere. But where? My config 
> looks  like this:
>
>         <bean id="dataBinding"
>  class="org.apache.cxf.aegis.databinding.AegisDatabinding"
>  scope="prototype" />
>         <bean id="serviceFactory"
>  class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean"
>  scope="prototype">
>                 <property name="dataBinding" ref="dataBinding" />
>                 <property name="serviceConfigurations">
>                         <list>
>                                 <bean
>  class="org.apache.cxf.jaxws.support.JaxWsServiceConfiguration" />
>                                 <bean
>  class="org.apache.cxf.aegis.databinding.AegisServiceConfiguration" />
>                                 <bean
>  class="org.apache.cxf.service.factory.DefaultServiceConfiguration" />
>                         </list>
>                 </property>
>         </bean>
>
>         <jaxws:endpoint id="messageService"
>  implementor="#messageServiceImpl" address="/messageService">
>                 <jaxws:serviceFactory>
>                         <ref bean="serviceFactory" />
>                 </jaxws:serviceFactory>
>         </jaxws:endpoint>
>
>
>
>
>  Richard Grantham
>  Development
>
>  -------------------------------
>  [EMAIL PROTECTED]
>  Limehouse Software Ltd
>  DDI: (020) 7566 3336
>  Main: (020) 7566 3320
>  Fax: (020) 7566 3321
>  Limehouse Software Ltd
>  4th Floor
>  1 London Bridge
>  London
>  SE1 9BG
>  Manchester Office:
>  3rd Floor, The Triangle, Exchange Square, Manchester M4 3TR
>  Tel: (0161) 240 2440, Fax: (0161) 240 2441, ISDN: 08700 119 400  
> Check out Limehouse Software's innovative solutions  
> www.limehousesoftware.co.uk - Transforming the way you publish and 
> consult on information  The information contained in this e-mail or in

> any attachments is confidential and is intended solely for the named 
> addressee only. Access to this e-mail by anyone else is unauthorised. 
> If you are not the intended recipient, please notify Limehouse 
> Software Ltd immediately by returning this e-mail to sender or calling

> 020 7566 3320 and do not read, use or disseminate the information. 
> Opinions expressed in this e-mail are those of the sender and not 
> necessarily the company. Although an active anti-virus policy is 
> operated, the company accepts no liability for any damage caused by 
> any virus transmitted by this e-mail, including any 
> attachments.-----Original Message-----
>  From: Benson Margulies [mailto:[EMAIL PROTECTED]
>  Sent: 07 May 2008 12:01
>  To: [email protected]
>  Subject: Re: Namespaces on attributes
>
>
>
>  What version of CXF are you running?
>

Reply via email to