permaculture playing cards*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cachespec.xml for object array