Hi,
unfortunately I don't know your development tools. Without recreating error situation it's hard to tell what's going on. Butsomething seems to be wrong with your SAProuter string.
I wonder why/when/where the "/" character turnes into the ASCII code #2F
Basicially saprouter-string is always:
/H/server_one/S/service_on_server_one/H/server_two/S/service_on_server_two/H/..../H/
For RFC communication most of the time the actual system's host name is added after last "/H/". If SAProuter runs on default port then section "/S/service_on_server_xxx" can be omitted
This is your case:
instead of "%2FH%2Fsaprouter.majul.com%2FH%2Fsapmai"
"/H/saprouter.majul.com/H/sapmai" may help
Regards
Martin Vierling
Integration Consultant
SAP Integration and Certification Center.