# creating a web service

**URL:** <https://techcommunity.softwareag.com/t/creating-a-web-service/194014>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [April 7, 2017, 2:26pm UTC](https://techcommunity.softwareag.com/t/creating-a-web-service/194014 "2017-04-07T14:26:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ivan1/32/192_2.png) [@Ivan1](https://techcommunity.softwareag.com/u/Ivan1)\
**Post date:** [April 7, 2017, 2:26pm UTC](https://techcommunity.softwareag.com/t/creating-a-web-service/194014/1 "2017-04-07T14:26:33Z")

</div>

Hi Everyone,

I do not know if this is the correct place to ask but I need to know the how to create a web service.

Now the system runs on VMS on an IBM mainframe but there is no EntireX.  
I have written service using entireX and C# using WCF.

I have been told there a way to by pass entire-x using remote calls and C programs.

Does anyone how to go about this?  
What must be configured, how must the Natural and C programs look like (Examples if possible).

Anyone information or pointing in the right correction will be helpfull.

Thank you,  
ivan

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [April 8, 2017, 1:53am UTC](https://techcommunity.softwareag.com/t/creating-a-web-service/194014/2 "2017-04-08T01:53:28Z")

</div>

Posting to 4 different places is a touch annoying.

Can you explain what you are attempting to do, what is where, what versions you are using?

For example: “Natural 6.3 RPC Server runs on Open VMS 8.3 and I need to call it from C#.Net (Visual Studio 2008 on Windows). I have EntireX 9.6 Broker running on a Windows 2008 Server”

If you just want to expose Natural subprograms as web services, you can use the XML RPC Servlet to exposure your Natural RPC services (subprograms) as web services, which can be consumed by Java or C# or whatever.

If you just want to be able to call Natural services (subprograms) from C#, you can use the EntireX RPC .Net Wrapper.

If your OS is “Open VMS”, only the Broker stubs are supported, but Natural RPC can use them (Open VMS is not classed as a mainframe OS by Software AG, so perhaps your OS is something else).

---

<div class="post-metadata">

**Author:** ![Ivan1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ivan1/32/192_2.png) [@Ivan1](https://techcommunity.softwareag.com/u/Ivan1)\
**Post date:** [April 18, 2017, 1:13am UTC](https://techcommunity.softwareag.com/t/creating-a-web-service/194014/3 "2017-04-18T01:13:38Z")

</div>

Hi Douglas,

Sorry for taking so long to reply and the many post. I wanted to see if other people has used anything else besides entireX.

To answer your questions.  
We are on natural 8.2.3.9 and I was mistaken the os is Z/Os version 02.01.00.

On a previous site I have used entireX with C# services. How ever the current site does not have entireX and thus are looking for an alternative as EntireX comes with a hefty price tag.

---

<div class="post-metadata">

**Author:** ![Wilson\_Aparecido](https://avatars.discourse-cdn.com/v4/letter/w/48db29/32.png) [@Wilson\_Aparecido](https://techcommunity.softwareag.com/u/Wilson_Aparecido)\
**Post date:** [March 25, 2019, 8:49am UTC](https://techcommunity.softwareag.com/t/creating-a-web-service/194014/4 "2019-03-25T08:49:24Z")

</div>

tem possibilidade de usar [asp.net](http://asp.net) core 2.2 consumir serviço  
Natural applications

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [March 27, 2019, 9:36am UTC](https://techcommunity.softwareag.com/t/creating-a-web-service/194014/5 "2019-03-27T09:36:07Z")

</div>

According to the EntireX Prerequsites (see [https://techcommunity.softwareag.com/ecosystem/documentation/webmethods/entirex/exx10-3/10-3\_EntireX/relnotes/prereq.htm#prereq\_win](https://techcommunity.softwareag.com/ecosystem/documentation/webmethods/entirex/exx10-3/10-3_EntireX/relnotes/prereq.htm#prereq_win)):

Any .NET Framework supporting .NET Common Language Runtime (CLR) version 4 is supported.

---

<div class="post-metadata">

**Author:** ![sagi\_achituv1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/sagi_achituv1/32/386_2.png) [@sagi\_achituv1](https://techcommunity.softwareag.com/u/sagi_achituv1)\
**Post date:** [March 27, 2019, 1:46pm UTC](https://techcommunity.softwareag.com/t/creating-a-web-service/194014/6 "2019-03-27T13:46:47Z")

</div>

I do think that EntireX is the proper solution for you, but if this not an option (nevermind the reason) - you might consider using Natural Request Document statment and PARSE statment to comunicate with external XML and Soap components.  
See the Natural documention on that

---

<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:38pm UTC](https://techcommunity.softwareag.com/t/creating-a-web-service/194014/7 "2021-04-02T15:38:14Z")

</div>


