Forum Discussion

lucashard's avatar
lucashard
New Contributor
8 years ago

How do I pass a long null by soapui?

I try the following and i can't work fine

<Vf: NullableparentNumber = "true" />

<vf:IDCuotapartista nillable="true" type="int"/>

<vf:IDCuotapartista nillable="true" type="long"/>

The signature of the property in the following

    <DataMember(IsRequired:=True)> Public Property ascx() As Nullable(Of Long)

  • groovyguy's avatar
    groovyguy
    Community Hero

    Nillable means that you can provide no actual value for the element.

     

    example:

    <vf:IDCuotapartista></vf:IDCuotapartista>

     

    or 

    <<vf:IDCuotapartista/>

     

     

    • lucashard's avatar
      lucashard
      New Contributor

      Does not work.

      the result is Input string was not in a correct format

      • groovyguy's avatar
        groovyguy
        Community Hero

        Can we see a copy of the request? Is the service using business rules outside of the XML constraints?