Hello,I’m new to this forum and I hope you can help me.
I’m developing a Web Service with Lotusscript. The Web Service makes a fulltext search in a database and returns the value of some specified fields from the found documents.
My problem is that some of the fields are multi-value fields.
So far as I found out, you must declare a STRINGARRAY_HOLDER object to return arrays.
I’ve done this.
At the beginning of my class I have declared some variables like this
Class SearchWebService
Public approverList As STRINGARRAY_HOLDER
Public createdDate AS XSD_DATETIME
Public editorList As STRINGARRAY_HOLDER
Public id As String
…
Public Function getDocContents(…)
…
End Function
Private Function returnMultiValue(…) As STRINGARRAY_HOLDER
…
End Function
Private Function handleDates(…) As XSD_DATETIME
…
End Function
…
End Class
When I call my Web Service (I use Eclipse for this) I always get the soap error message “Holder object APPROVERLIST in web service SearchWebService, method SEARCHDOCUMENTS has no public members”
Something with the statement
Public approverList As STRINGARRAY_HOLDER
must be wrong but I don’t know where the mistage is.
I have searched this forum but I haven’t found something belonging to this problem.
But I’ve read this article several times and it does not help solving my problem.
I also did not found anything about STRINGARRAY_HOLDER in this article. The example database only works with normal strings and not with multi-value fields.