Hi,
I am using a Class Module within my B4J app and from the WebSocket module I have Initialize the class.
In this class module I am using a SOAP message request which will send the message off and in the JobDone sub I am getting the reply. Which is all working fine.
The part I need help with is..
From my WebSocket Module I want to know if the value that is returned from the SOAP message equals something before the code continues in a sub.
For Example:
I am sending a SOAP message to request if a user exists on the server.
The reply I should get back either yes or no (which I have working.)
From my code I want to check what that value is before continuing in that sub.
e.g:
B4A/B4i (or even my webpage with the websocket) sends a WebSocket request to my B4J app and asks "does user abc exist on the 3rd Party server"
The B4J needs to send a SOAP message to a 3rd Party server and check if the user exists on the server.
(I need to check if the user exists from the B4J app and not the B4A/B4i app.)
IF the reply from SOAP Message = "yes" Then
' send message to the B4A/B4i app and send "yes"
End If
I am using a Class Module within my B4J app and from the WebSocket module I have Initialize the class.
In this class module I am using a SOAP message request which will send the message off and in the JobDone sub I am getting the reply. Which is all working fine.
The part I need help with is..
From my WebSocket Module I want to know if the value that is returned from the SOAP message equals something before the code continues in a sub.
For Example:
I am sending a SOAP message to request if a user exists on the server.
The reply I should get back either yes or no (which I have working.)
From my code I want to check what that value is before continuing in that sub.
e.g:
B4A/B4i (or even my webpage with the websocket) sends a WebSocket request to my B4J app and asks "does user abc exist on the 3rd Party server"
The B4J needs to send a SOAP message to a 3rd Party server and check if the user exists on the server.
(I need to check if the user exists from the B4J app and not the B4A/B4i app.)
IF the reply from SOAP Message = "yes" Then
' send message to the B4A/B4i app and send "yes"
End If