[
http://jira.codehaus.org/browse/XFIRE-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101066
]
Mauricio Wodarski da Silva commented on XFIRE-462:
--------------------------------------------------
I agree with Stephane.
And not because I also need byte properties in my webservices. Alright, maybe a
bit. :)
> byte and java.lang.Byte in WSDL problem
> ---------------------------------------
>
> Key: XFIRE-462
> URL: http://jira.codehaus.org/browse/XFIRE-462
> Project: XFire
> Issue Type: Bug
> Affects Versions: 1.1.1
> Environment: MS Windows XP Pro, BEA WebLogic 9.2 Beta, JDK 1.5.0_04
> Reporter: Stephane
> Assignee: Dan Diephouse
> Fix For: 1.2.7
>
>
> I have a simple Web Service with the following methods :
> public byte getByteP() {
> return (byte) 0x89;
> }
> public void setByteP(byte value) {
> }
> public Byte getByteW() {
> return new Byte((byte) 0x89);
> }
> public void setByteW(Byte value) {
> }
> XFire generates the WSDL with the following types :
> <xsd:element name="setByteP">
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element name="value" type="ns2:byte" minOccurs="1"
> maxOccurs="1" />
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> <xsd:element name="setByteW">
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element name="value" type="ns1:Byte" nillable="true"
> minOccurs="1" maxOccurs="1" />
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> <xsd:schema targetNamespace="http://lang.java"
> elementFormDefault="qualified" attributeFormDefault="qualified">
> <xsd:complexType name="Byte">
> <xsd:complexContent>
> <xsd:extension base="Number" />
> </xsd:complexContent>
> </xsd:complexType>
> <xsd:complexType name="Number" abstract="true" />
> </xsd:schema>
> <xsd:schema targetNamespace="http://DefaultNamespace"
> elementFormDefault="qualified" attributeFormDefault="qualified">
> <xsd:complexType name="byte" abstract="true" />
> </xsd:schema>
> I expect that the type is xsd: byte instead of complex types
> What do you think ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email