Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4972

Second letter capital of a variable value is coming null in server side.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3, 1.6.1
    • None
    • deployment
    • Java 1.6 ,apache-tomcat-6.0.14, Eclipse

    Description

      I am using "Axis2_Service_Archiver_1.3.0" eclipse plugin to deploy and publish my service in tomcat 6.0.14.
      In that one method takes the Object input and that object has 7 variables.
      Now the issue is when i call the services from my client side app. one variable value is coming null in server but others are working correctly.
      That variable's 2nd letter is Capital letter is it the problem ?
      Variable name is "mCouponCode" .

      Other variable like 'redeemDate' are working correctly.

      In WSDL file it looks like below. (I have pasted the wsdl part here)

      ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      <xs:complexType name="RedemptionUpdateRequest">
      <xs:sequence>
      <xs:element name="last4digitsOfCardNo" nillable="true" type="xs:string"/>
      <xs:element name="mCouponCode" nillable="true" type="xs:string"/>
      <xs:element name="mobileNo" nillable="true" type="xs:string"/>
      <xs:element name="pvrTxnId" nillable="true" type="xs:string"/>
      <xs:element name="redeemDate" nillable="true" type="xs:string"/>
      <xs:element name="redeemLocation" nillable="true" type="xs:string"/>
      <xs:element name="redeemTime" nillable="true" type="xs:string"/>
      </xs:sequence>
      </xs:complexType>

      ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      Attachments

        Activity

          People

            Unassigned Unassigned
            mahendra Mahendra Maheshwara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 221h
                221h
                Remaining:
                Remaining Estimate - 221h
                221h
                Logged:
                Time Spent - Not Specified
                Not Specified