Hi,
I am not familiar working with the Properties file but trying to develop some stuff based on PS Utilities in the forum and have a basic question on this.
I am defining four fields in the Property file as below:
#Property File
Name1=wM1
Name2=wM2
Name3=wM3
Name4=wM4
When i’m reading the Property file using a Java Service(fileName as Input and Property as Output field); the result is displayed as follows:
Property (Name) and
{Name1=wM1, Name2=wM2, Name3=wM3, Name4=wM4} (value)
I think the returned output “Property” is a string but when i try to tokenise the string, its throwing a “NullPointer Exception”. I wish to return the fields as a String List.
Could someone tell me how to get the Property fields as a String List. In other words, how to define the Property File in the config folder that will return the output as a String List as wM1,wM2,wM3,wM4?
Thanks for your help.
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services