Upper/Lower case of complex type does not match case of element reference.
--------------------------------------------------------------------------

                 Key: XFIRE-892
                 URL: http://jira.codehaus.org/browse/XFIRE-892
             Project: XFire
          Issue Type: Bug
          Components: JAXB 2.0
    Affects Versions: 1.2.4
         Environment: 
Server: org.codehaus.xfire.jaxb2.JaxbServiceFactory
                JAXB binding wrapped document style.
Client: org.codehaus.xfire.spring.remoting.XFireClientFactoryBean
            Reporter: Tom Lambrechts
         Assigned To: Dan Diephouse


When a JAXB type has no explicite name defined the complex type for 
the JAXB type parameter (<xs:element name="myDTObject" type="myDTObject" />) is 
defined with lower case name.
While the ref (ref="ns1:MyDTObject ) to this type in the operation type is 
upper case.
This is not an issue for the XFire clients but it is a problem for most 
other soap clients like for example soapUI.

<wsdl:types>
        <xsd:schema attributeFormDefault="qualified"
                elementFormDefault="qualified" targetNamespace="http://foo";>
                <xsd:element name="helloWorld">
                        <xsd:complexType>
                                <xsd:sequence>
                                        <xsd:element maxOccurs="1" minOccurs="1"
                                                ref="ns1:MyDTObject" />
                                </xsd:sequence>
                        </xsd:complexType>
                </xsd:element>
                <xsd:element name="helloWorldResponse">
                        <xsd:complexType />
                </xsd:element>
        </xsd:schema>
        <xs:schema targetNamespace="myNs" version="1.0">
                <xs:element name="myDTObject" type="myDTObject" />
        </xs:schema>
        <xs:schema version="1.0">
                <xs:complexType name="myDTObject">
                        <xs:sequence>
                                <xs:element minOccurs="0" name="name" 
type="xs:string" />
                        </xs:sequence>
                </xs:complexType>
        </xs:schema>
</wsdl:types>

-- 
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

Reply via email to