Creating IDOC template

I’m trying to run “createIDOCtemplate” service of the WmEDI adapter to get the template for PEXR2001 IDOC from the SAP server. The B2B server connection to the SAP server is fine.
When I run the service, it doesn’t fail yet I don’t get the template output. All I get is a variable $rfcname with value EDI_IDOC_SYNTAX_GET.

Thanks for your help.