File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes cachespec.xml for object array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "cachespec.xml for object array" Watch "cachespec.xml for object array" New topic
Author

cachespec.xml for object array

Ashok Haluvarthi
Greenhorn

Joined: Jul 04, 2002
Posts: 13
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
 
 
subject: cachespec.xml for object array
 
Similar Threads
java.lang.IllegalStateException: using sendRedirect()
JNDI Port number issue while strating JBoss server 4.2.2.GA
How to configure cachespec.xml to cache Object Array
SQL Exception No suitable driver
problem in websphere dynacache