# .Net Webservice invocation from Natural on BS2000

**URL:** <https://techcommunity.softwareag.com/t/net-webservice-invocation-from-natural-on-bs2000/59624>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [April 12, 2006, 2:50pm UTC](https://techcommunity.softwareag.com/t/net-webservice-invocation-from-natural-on-bs2000/59624 "2006-04-12T14:50:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillaume](https://avatars.discourse-cdn.com/v4/letter/g/c67d28/32.png) [@Guillaume](https://techcommunity.softwareag.com/u/Guillaume)\
**Post date:** [April 12, 2006, 2:50pm UTC](https://techcommunity.softwareag.com/t/net-webservice-invocation-from-natural-on-bs2000/59624/1 "2006-04-12T14:50:37Z")

</div>

Hi,

We have created a .Net Webservice on Windows 2003. Our EntireX broker version 7.2.1.50 is located on Unix Solaris 8.  
We have generated all the necessary files (xmm, …), started the broker and the xml RPC server.  
When pinging the RPC server from Natural on the BS2000, via the SYSRPC library we have the following error on the broker server :

```auto
java.lang.StringIndexOutOfBoundsException: String index out of range: 50
        at java.lang.String.substring(String.java:1522)
        at com.softwareag.entirex.aci.ap.b(Unknown Source)
        at com.softwareag.entirex.aci.ap.m(Unknown Source)
        at com.softwareag.entirex.xml.rt.XMLRPCServer.b(Unknown Source)
```

and the following return code on the BS2000 :

```auto
00030012 EOC due to LOGOFF of partner
```

Has anybody an idea of what we can do ? Thanks for your help.

G.

---

<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:** [April 19, 2006, 3:56pm UTC](https://techcommunity.softwareag.com/t/net-webservice-invocation-from-natural-on-bs2000/59624/2 "2006-04-19T15:56:44Z")

</div>

Hi Guillaume,

I have not really an idea.  
I would check that your are using version 7.2.1.50 of the XML RPC Server. You should also check that you are using TRANSLATION (or CONVERSION) in the Broker attribute file for this RPC service.

If this does not help you need to run the XML RPC Server with -Dentirex.trace=2 and send to trace to SAG Support.

---

<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, 2:39pm UTC](https://techcommunity.softwareag.com/t/net-webservice-invocation-from-natural-on-bs2000/59624/3 "2021-04-02T14:39:57Z")

</div>


