Hi,
the problem is the mapping that you did between the message "thisEventStartMessageRequest" and "intfGetNameRequestMsg".
What you wanted to do, is pass the string that you provide when you call the process, to the message that you sent to the Hello webService.
But instead of that, you copied the message ( and not the string ) that you send to the process, to the message (and not only the myname attribute) that you send to the WS.
So the structure of the message that you send to your WS is actually incorrect.
But why would this throw a read time out exception ?
This is how your process is designed:
1- you send to process a string.
2- the process will send this string to your WS.
3- your webservice will answer the process.
4- your process will send you the answer of the webService.
S in step 2 you send an incorrect message, which cause the webService to return a fault answer to the process. the process then stops, and he will not reach step 4.
Since your client ( the tool with which you send a call to the process , and in this case it is the bpms-console) did not receive an answer from the process, he will throw a read time out error.
Ok now you understand what caused the behavior, but how would you know that by your self?First of all, if you look in the logs of the Axis2 where you are hosting your webservice, you will find something like this:
10:00:06,682 WARN [ExternalService] Fault response: faultType=(unkown)
http://www.w3.org/2005/08/addressing/faultwsa:ActionNotSupportedThe [action] cannot be processed at the receiver.
Which means that your webservice returned a fault. Which might be because of either:
1- your WS is not working as it should be.
2- the request that you send to your process is incorrect.
Since you tried your WS with soapUI and it worked, then the problem is probably number 2.
In soapUI, you have already an example of a correct message, so all you need to do is compare this one withthe one that the process sends to your WS.
To access this message, all you need to do is log in the bpms-console ( usually at
http://localhost:8080/bpms-console ) , go to the instances section, click on the instance that you want to debug, and under the data tab, you can see all the messages that your process sends or receives.
And you are going to notice that your process sends this message:
name
whereas soapUI sends :
name
So you can see that the myname attribute is missing, because of the bad mapping in the process.
Another problem with your WS wsdl, is that the soapAction is empty ( so you need to go to the wsdl inside the aar, and specify a soapAtion and redeploy your aar).
the reason it works with soapUI, is that soapUI uses soap1.2 and therefore no soapAction is required.
Attached is the fix for the problem, I hope this helps.
Regards,
Ihab
I am attaching a zip with the process corrected, and with the