Hello guys,
I have a SOAP service and I need to get some methods in the CallPoint but unfortunately I look into the examples which are super simple and there are no other details about this
So I have the URL :
and here I have few methods, one of which is
There , if I use SOAP UI I have to put the following details in the Request body :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:service_schema:2_0:common">
<soapenv:Header/>
<soapenv:Body>
<urn:GetFilteredMessagesRequest>
<urn:RequestInfo>
<urn:ApplicationToken>TokenID</urn:ApplicationToken>
</urn:RequestInfo>
<urn:MessagesFilter>
<!--Optional:-->
<urn:Folder>INBOX</urn:Folder>
</urn:MessagesFilter>
</urn:GetFilteredMessagesRequest>
</soapenv:Body>
</soapenv:Envelope>
and in the app I get all the details , now , how do I do that in XOJO side ?
I did a test like this :
[code]Dim wsdl As String = “http://localhost:8081/services/UMService/2_0?WSDL”
Dim sm As New SOAPMethod(wsdl)
Dim sr As SOAPResult
Dim ApplicationToken As String = “asfasfa”
Dim Fld As String = “INBOX”
sm.Parameter(“ApplicationToken”) = ApplicationToken
sm.Parameter(“Folder”) = Fld
sr = sm.Invoke(“GetFilteredMessages”)
[/code]
But it seems that I get Incorrect parameters, any idea how those things should be handled ?
It’s my first time to work with those and it’s quite confusing .
Any help is welcomed.
Thanks in advance