Forum Discussion

lucashard's avatar
lucashard
New Contributor
7 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)

5 Replies

  • groovyguy's avatar
    groovyguy
    Champion Level 1

    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
        Champion Level 1

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