You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Steve Hardy (JIRA)" <ax...@ws.apache.org> on 2004/12/20 16:01:13 UTC

[jira] Created: (AXISCPP-334) WSDL2ws doesn't complain about missing [] in soap Arrays in arrayType

WSDL2ws doesn't complain about missing [] in soap Arrays in arrayType
---------------------------------------------------------------------

         Key: AXISCPP-334
         URL: http://nagoya.apache.org/jira/browse/AXISCPP-334
     Project: Axis-C++
        Type: Bug
  Components: WSDL generation  
    Versions: current (nightly)    
 Environment: Win32
    Reporter: Steve Hardy
    Priority: Minor


WSDL2ws silently accepts

	   <xs:complexType name="intArray">
	     <xs:complexContent>
		   <xs:restriction base="soapenc:Array">
  		     <xs:attribute ref="soapenc:arrayType" wsdl:arrayType="xs:unsignedInt"/>
		   </xs:restriction>
		 </xs:complexContent>
	   </xs:complexType>

(note the missing "[]" behind arrayType="xs:unsignedInt")

This creates an empty type. A warning at least would be nice. (it does give a warning currently, but only about the fact that the type is empty, not why it is empty)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXISCPP-334) WSDL2ws doesn't complain about missing [] in soap Arrays in arrayType

Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-334?page=all ]

John Hawkins updated AXISCPP-334:
---------------------------------

    Component: WSDL processing - Doc

> WSDL2ws doesn't complain about missing [] in soap Arrays in arrayType
> ---------------------------------------------------------------------
>
>          Key: AXISCPP-334
>          URL: http://issues.apache.org/jira/browse/AXISCPP-334
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - RPC, WSDL processing - Doc
>     Versions: current (nightly)
>  Environment: Win32
>     Reporter: Steve Hardy
>     Priority: Minor

>
> WSDL2ws silently accepts
> 	   <xs:complexType name="intArray">
> 	     <xs:complexContent>
> 		   <xs:restriction base="soapenc:Array">
>   		     <xs:attribute ref="soapenc:arrayType" wsdl:arrayType="xs:unsignedInt"/>
> 		   </xs:restriction>
> 		 </xs:complexContent>
> 	   </xs:complexType>
> (note the missing "[]" behind arrayType="xs:unsignedInt")
> This creates an empty type. A warning at least would be nice. (it does give a warning currently, but only about the fact that the type is empty, not why it is empty)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira