# from MF to web service

**URL:** <https://techcommunity.softwareag.com/t/from-mf-to-web-service/99910>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [March 16, 2012, 8:07pm UTC](https://techcommunity.softwareag.com/t/from-mf-to-web-service/99910 "2012-03-16T20:07:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leon27Castro](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@Leon27Castro](https://techcommunity.softwareag.com/u/Leon27Castro)\
**Post date:** [March 16, 2012, 8:07pm UTC](https://techcommunity.softwareag.com/t/from-mf-to-web-service/99910/1 "2012-03-16T20:07:59Z")

</div>

Hi,

I have this requirement that a batch job (using Natural program) look for a record and when found it needs to sends the data to web service. I was told to do a reverse broker call, but not really understand what entails how to do it. I can make the natural/JCL and we have someone to work on web service, but I am not sure how to set-up or do the transfer from MF to web service. I am new to using broker so I hope you can help me understood what is being requested.

Appreciate your help,  
Leon

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [March 16, 2012, 8:53pm UTC](https://techcommunity.softwareag.com/t/from-mf-to-web-service/99910/2 "2012-03-16T20:53:22Z")

</div>

The easiest way probably is to call that web service using Natural’s REQUEST DOCUMENT statement.

---

<div class="post-metadata">

**Author:** ![Leon27Castro](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@Leon27Castro](https://techcommunity.softwareag.com/u/Leon27Castro)\
**Post date:** [March 16, 2012, 9:15pm UTC](https://techcommunity.softwareag.com/t/from-mf-to-web-service/99910/3 "2012-03-16T21:15:27Z")

</div>

Thanks for the response. I am still unclear about it. Can you give me a sample of how to code it or is there a good documents that I can read about this Nat Request Document. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [March 16, 2012, 9:30pm UTC](https://techcommunity.softwareag.com/t/from-mf-to-web-service/99910/4 "2012-03-16T21:30:08Z")

</div>

Leon,

there’s an extensive description with examples in the Natural documentation

[http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat427mf/sm/reqdocu.htm](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat427mf/sm/reqdocu.htm)

---

<div class="post-metadata">

**Author:** ![Dietmar\_Gartner](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/dietmar_gartner/32/127_2.png) [@Dietmar\_Gartner](https://techcommunity.softwareag.com/u/Dietmar_Gartner)\
**Post date:** [March 19, 2012, 1:23pm UTC](https://techcommunity.softwareag.com/t/from-mf-to-web-service/99910/5 "2012-03-19T13:23:21Z")

</div>

Leon,

you can use:

1. the EntireX IDL Extractor for WSDL and the XML /SOAP RPC server to make the Web service accessible to RPC clients and
2. the EntireX Natural Wrapper to generate a Natural Client to access the Web service.

See:  
[http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2\_sp2/EntireX/8-2-SP2\_EntireX/wsdlExtractor/overview.htm#fisanchor0](http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_sp2/EntireX/8-2-SP2_EntireX/wsdlExtractor/overview.htm#fisanchor0)  
[http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2\_sp2/EntireX/8-2-SP2\_EntireX/wsdlExtractor/writeAppsAdv.htm#writeAppsAdv](http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_sp2/EntireX/8-2-SP2_EntireX/wsdlExtractor/writeAppsAdv.htm#writeAppsAdv)  
[http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2\_sp2/EntireX/8-2-SP2\_EntireX/natWrapper/overview.htm](http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_sp2/EntireX/8-2-SP2_EntireX/natWrapper/overview.htm)

Regards  
Dietmar

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:01pm UTC](https://techcommunity.softwareag.com/t/from-mf-to-web-service/99910/6 "2021-04-02T15:01:39Z")

</div>


