• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

cachespec.xml for object array

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,

Do any idea how to configure cachespec for array values. For example

Here is my SOAP Request content.

<appContext>
<id>ABB</id>
<realm />
<securityId>ECM1254789657841</securityId>
</appContext>
<userContext>
<userProperties>
<UserProperty>
<name>Language</name>
<value>ES</value>
<name>Language</name>
<value>KA</value>

</UserProperty>
</userProperties>
</userContext>



<cache-id>
<component id="" type="serviceOperation">
<value>http://cds.dcl.mysis.com:getAsset</value>;
<required>true</required>
</component>
<component id="id" type="serviceOperationParameter"/>
<component id="realm" type="serviceOperationParameter"/>
<component id="securityId" type="serviceOperationParameter"/>
<timeout>86400</timeout>
</cache-id>

I was able to configure for id, realm, abd securityID. But when I try to configure for userproperties, where I have multiple name and values I was not able to cache the content.

Do any one have come across such requirement. or if you have any Idea on configuring multiple name and values pairs in cachespec.xml please respond me.

I tried

adding
<component id="name" type="serviceOperationParameter" multipleIDs="true">
<required>true</required>
</component>
<component id="value" type="serviceOperationParameter" multipleIDs="true">
<required>true</required>
</component>

It is not able to identify the multiple values.

Thanks
Ashok
 
reply
    Bookmark Topic Watch Topic
  • New Topic