This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
If you developed this web service provider in 8.5.1, then you probably included the lsxsd.lss library.
In this case, there is a class, STRINGARRAY_HOLDER that should do what you want.
Using this class, your subroutine parameters would be like (....., SendTo as STRINGARRAY_HOLDER, Subject As String.....)
This is a fairly limiting class, but it does have a property (called Value) that you can use to test and get the values passed for processing.
To test that the SendTo array does have values, even if it is only one, use code similar to:-
If Not Isarray ( SendTo.Value ) Then
Call throwFault(returnFault, "ERROR email list is not an array" )
Exit Function
End If
To process the values in this array, use code similar to:-
Forall email_address In SendTo.Value
itemCount = itemCount + 1
.....test for validity
....do something with email_address
End Forall
I have a web service provider as follows
Public Function scrubDescriptionsMulti (user_memberid As String, input_DescriptionArray As STRINGARRAY_HOLDER, returnFault As WS_FAULT ) As scrubberResultItemArray
which accepts input including an array of descriptions to be processed, and returns a complex array of processed values.
This works very reliably between our 8.5.1 Domino server and numerous dot.Net systems, the facilitator being that this consumer service is defined as "Wrapped" soap.
While the STRINGARRAY_HOLDER class works OK, I want to replace it with a class of my own design so I can set the names of the values that appear in the wsdl. I have not been successful so far.
For me, the holy grail is to be able to define a class which will accept an array of multiple values, ie a 2-D array. I have never seen any examples of this, though clearly it can be done.
I hope the above is of help and not too off-beam. If you need more help, LMK
Feedback response number WEBB834VQS created by ~Howard Minapulader on 02/28/2010