This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 80220 - For int to float conversion,simulator does not show decimal value.
Summary: For int to float conversion,simulator does not show decimal value.
Status: VERIFIED INVALID
Alias: None
Product: soa
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: lchang
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-13 18:44 UTC by bugbridge
Modified: 2006-10-12 16:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-07-13 18:44:37 UTC
Original status: 1-Dispatched; Suggested Status: NEW

Original Target Release: coke_dev; Suggested Target Milestone : 5.5

Original submitter: malapati

Description:
Transferred from Bugzilla id : 136

Description: 

this is the same for even xsd:integer.

xml schema has 2 simple types int and integer.For both the float output does
not show decimal value.

------- Comment #1 From Sneha Srinivasan 2006-02-28 14:22 [reply] ------- 
here is the wsdl i used and operator used is "convert"


<?xml version="1.0" encoding="UTF-8"?><definitions
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:slnk="http://schemas.xmlsoap.org/ws/2002/07/service-link/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://stc.com/echoConvert"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="echoConvert"
targetNamespace="http://stc.com/echoConvert">
    <types>
        <xsd:schema elementFormDefault="qualified"
targetNamespace="http://stc.com/echoConvert"
            xmlns:tns="http://stc.com/echoConvert"
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                    xmlns="http://schemas.xmlsoap.org/wsdl/"
                    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                   
xmlns:slnk="http://schemas.xmlsoap.org/ws/2002/07/service-link/">

            <xsd:element name="item" type="tns:GetIntValue"/>
                <xsd:complexType name="GetIntValue">
                   <xsd:sequence>
                        <xsd:element name="inputIntValue" type="xsd:int"/>
                    </xsd:sequence>
                </xsd:complexType>


            <xsd:element name="item1" type="tns:GetFloatValue"/>
            <xsd:complexType name="GetFloatValue">
    <xsd:sequence>
        <xsd:element name="FloatValue" type="xsd:float"/>
    </xsd:sequence>
            </xsd:complexType>
        </xsd:schema>
            </types>

    <message name="IntValue">
        <part name="info" element="tns:item" />
    </message>
    <message name="FloatValue">
        <part name="response" element="tns:item1" />
    </message>

          <portType name="echoConvert">
        <operation name="DataConversion">
            <input name="input" message="tns:IntValue"/>
            <output name="Outresponse" message="tns:FloatValue"/>
      </operation>
    </portType>
    <binding name="ConvertBinding" type="tns:echoConvert">
        <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="DataConversion">
            <soap:operation soapAction="echoConvert"/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
    </binding>
    <service name="echoConvertService">
        <port binding="tns:ConvertBinding" name="Convertport">
            <soap:address
location="http://localhost:12010/echoConvertOperator"/>
        </port>
    </service>
    <plnk:partnerLinkType
xmlns:plnk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
name="ConvertLink">
        <plnk:role name="Convertserver" portType="tns:echoConvert"/>
    </plnk:partnerLinkType>
</definitions>
Description:  [reply]  Opened: 2006-02-28 14:22  

steps:
trying to test "Convert" operator.
1.Gave xsd:int for input value and xsd:float for output response.
2.tester displays decimal value ie given 5 as input tester displayed 5.0(which
i feel is correct) where as simulator shows non decimal value ie 5.

I am not sure where the problem is whether it is with convert operator or
bpelse or is it with simulator.Please forward the same to concerned person/team
after verifying.

Thanks,
Sneha.
Comment 1 Joshua Sandusky 2006-07-21 20:27:51 UTC
this is a runtime issue, please re-assign

the mapper appears to have nothing to do with this issue
Comment 2 Joshua Sandusky 2006-09-12 22:00:33 UTC
Can this bug be switched over to the Bugster database?

Runtime issues are in the Bugster change request database instead of IssueZilla.
Comment 3 lchang 2006-09-12 23:39:38 UTC
opened bugtraq:  6470039
Comment 4 Mikhail Kondratyev 2006-10-12 16:39:46 UTC
Marking as verified as verified as the corresponding bug exists in Bugtraq
Still open at this moment