Forum Discussion
rakshitbachary
13 years agoNew Contributor
Thanks EmBear 
But my requirement is somewhat different. We cannot assume
My request can be as below also
For this request I need to save properties as below:
I expect to not set any manual value like "cloud" in the code(except #1....#n. This can be adjudged by #i). Code should automatically extract these values and set them as a property.

But my requirement is somewhat different. We cannot assume
My request can be as below also
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:webs="http://webs">
<soapenv:Header/>
<soapenv:Body>
<webs:SaveFilePropertiesRequest>
<webs:SystemUserCredentials>
<webs:UserID>userIDValue</webs:UserID>
<webs:UserPassword>userPasswordValue</webs:UserPassword>
<webs:SystemDomain>systemDomainValue</webs:SystemDomain>
</webs:SystemUserCredentials>
<webs:PropertiesToBeSaved>
<webs:File>
<webs:FileName>fileNameValue#1</webs:FileName>
<webs:FilePath>filePathValue#1</webs:FilePath>
<webs:FileType>fileTypeValue#1</webs:FileType>
<webs:FileSize>fileSizeValue#1</webs:FileSize>
</webs:File>
<webs:File>
<webs:FileName>fileNameValue#2</webs:FileName>
<webs:FilePath>filePathValue#2</webs:FilePath>
<webs:FileType>fileTypeValue#2</webs:FileType>
<webs:FileSize/>
</webs:File>
</webs:PropertiesToBeSaved>
</webs:SaveFilePropertiesRequest>
</soapenv:Body>
</soapenv:Envelope>
For this request I need to save properties as below:
UserID
UserPassword
SystemDomain
FileName#1
FilePath#1
FileType#1
FileSize#1
FileName#2
FilePath#2
FileType#2
FileSize#2
I expect to not set any manual value like "cloud" in the code(except #1....#n. This can be adjudged by #i). Code should automatically extract these values and set them as a property.