[ http://wso2.org/jira/browse/WSAS-628?page=comments#action_13780 ] Charitha Kankanamge commented on WSAS-628: ------------------------------------------
Attached screen shot > Data type is blank in Tryit if an element is defined with a restriction in > schema > --------------------------------------------------------------------------------- > > Key: WSAS-628 > URL: http://wso2.org/jira/browse/WSAS-628 > Project: WSO2 WSAS > Issue Type: Bug > Affects Versions: 2.1 > Environment: Winxp, jdk15 > Reporter: Charitha Kankanamge > Assigned To: Jonathan Marsh > Attachments: calculatorschemaelementrestrictionService.aar, > tryit-restrictedelements.JPG > > > I deployed a service which was generated from a wsdl which included a schema > with restricted values. > The following is an excerpt from the schema. > <xsd:schema targetNamespace="http://charitha.org" > attributeFormDefault="qualified" elementFormDefault="qualified"> > <wsdl:documentation>The following schmea element uses ref > attribute</wsdl:documentation> > <xsd:element name="division"> > <xsd:complexType> > <xsd:sequence> > <xsd:element name="k"> > <xsd:simpleType> > <xsd:restriction base="xsd:double"> > <xsd:minInclusive value="10.0"/> > <xsd:maxInclusive value="100.0"/> > </xsd:restriction> > </xsd:simpleType> > </xsd:element> > <xsd:element name="l" type="xsd:double" /> > </xsd:sequence> > </xsd:complexType> > </xsd:element> > <xsd:element name="divisionResponse"> > <xsd:complexType> > <xsd:sequence> > <xsd:element name="divreturn" type="xsd:double"/> > </xsd:sequence> > </xsd:complexType> > </xsd:element> > As you can see above, the simple type element k is defined with a > restriction. The tryit page in WSAS management console shows blank data type > for the above element. (See the attached screen shot) > Steps to reproduce: > ============= > 1. Deploy the attached service > 2. Go to service management page and select the deployed service > 3. Click on 'Tryit' > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://wso2.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ Wsas-java-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev
