Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cachespec.xml for object array

 
Ashok Haluvarthi
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic