Hi all,
I'm an XFire newbie and I'm having some trouble implementing my services. Here
is my environment:
JBoss 4.0.4
JDK 1.5.0
XFire 1.2.4
in my .aegis.xml file, I have the following:
<mapping>
<method name="DoMyAction">
<parameter index="0" mappedName="name" nillable="false"/>
<parameter index="1" mappedName="pass" nillable="false"/>
<parameter index="2" mappedName="user" nillable="true" minOccurs="0"/>
</method>
</mapping>
My resulting WSDL contains this:
<xsd:element name="DoMyAction">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="name"
nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="1" name="pass"
nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="1" name="user"
nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
I don't understand why the WSDL shows minOccurs="1" and why nillable is always
true for the results parameter when I specify minOccurs="0" in my .aegis.xml
file?
Can someone please explain how to fix this?
Can someone explain me how generate enumeration code like this ?
<simpleType name="MaintenanceStateType">
<restriction base="xsd:string">
<enumeration value="InService"/>
<enumeration value="OutOfService"/>
</restriction>
</simpleType>
Thanks,
Sébastien
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email