« Return to Thread: How to get rid of xsd:any from Generated wsdl using Aegis binding?

Re: How to get rid of xsd:any from Generated wsdl using Aegis binding?

by Dan Diephouse :: Rate this Message:

Reply to Author | View in Thread

I *thought* xsd:any generation was off by default now. You aren't using an old version of xfire are you?
- Dan

On 12/5/06, Adli <maab198@...> wrote:
Hi,

Part of my generated wsdl is:

<xsd:complexType name="EventKey">
<xsd:sequence>
<xsd:element minOccurs="0" name="Entity" type="xsd:string"/>
<xsd:element minOccurs="0" name="EntityId" type="xsd:string"/>
<xsd:element minOccurs="0" name="EventId" type="xsd:string"/>
<xsd:any maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
<xsd:anyAttribute/>
</xsd:complexType>

is from class EventKey using Java5 annotations:

@XmlType(name="EventKey")
class EventKey{

@XmlElement(name="Entity")  
public String getEntity();

@XmlElement(name="EntityId")
public String getEntityId();

@XmlElement(name="EventId")
public String getEventId();

.......
}


How can I not generate the extra xsd:any from my complexType?

Thanks,
Adli



--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

 « Return to Thread: How to get rid of xsd:any from Generated wsdl using Aegis binding?