0 Replies Latest reply: Sep 10, 2012 9:12 PM by 675281 RSS

    listView binding issue with child nodes of web service data control

    675281
      What I thought was an issue with my complex web service input was actually an issue with listView.

      Runtime Error: Could not find property Place in class oracle.adfmf.dc.ws.soap.SoapGeneric Type

      Build: JDEVADF_11.1.2.3.0_GENERIC_120801.0015.6246.4

      Steps to reproduce:
      1) Generate web service data control for http://terraserver-usa.com/TerraService2.asmx?wsdl operation GetPlaceList
      2) Generate Request and Result views
      3) Add listView to the Result View and use field Place.City
      4) Run with parameters placeName Park, MaxItems 20, imagePresence false
      5) Observe error


      Steps to resolve:
      1) Add an attributeValues Binding

      <attributeValues IterBinding="PlaceIterator" id="City">
      <AttrNames>
      <Item Value="City"/>
      </AttrNames>
      </attributeValues>

      2) Modify

      from:
      <amx:outputText value="#{row.Place.bindings.City.inputValue}"
      to:
      <amx:outputText value="#{row.bindings.City.inputValue}"



      -Mike

      Edited by: Mike on Sep 10, 2012 6:47 PM

      Edited by: Mike on Sep 10, 2012 7:09 PM