# Webservice exception

**URL:** <https://techcommunity.softwareag.com/t/webservice-exception/102298>\
**Category:** Forum\
**Tags:** mobile\
**Created:** [January 10, 2013, 11:36am UTC](https://techcommunity.softwareag.com/t/webservice-exception/102298 "2013-01-10T11:36:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marco\_Stoffel](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/marco_stoffel/32/37223_2.png) [@Marco\_Stoffel](https://techcommunity.softwareag.com/u/Marco_Stoffel)\
**Post date:** [January 10, 2013, 11:36am UTC](https://techcommunity.softwareag.com/t/webservice-exception/102298/1 "2013-01-10T11:36:35Z")

</div>

Happy new year to everyone!

I got a SOAP exception while calling a webservice from IS. I have generated a stup using the mobile jdk (wscompile.exe) and all went well. When I call the service I get:

javax.xml.rpc.JAXRPCException

Element {}name not found in org.kxml2.kdom.Element@87afebf

WSDL: [url=‘[http://10.20.122.129:5555/ws/dbTaskdataSupport.ws:getTrasseVeroeffentlichen?WSDL](http://10.20.122.129:5555/ws/dbTaskdataSupport.ws:getTrasseVeroeffentlichen?WSDL)’] [http://10.20.122.129:5555/ws/dbTaskdataSupport.ws:getTrasseVeroeffentlichen?WSDL[/url]](http://10.20.122.129:5555/ws/dbTaskdataSupport.ws:getTrasseVeroeffentlichen?WSDL%5B/url%5D)

Any idea?

Thanks

Marco

Marco Stoffel

---

<div class="post-metadata">

**Author:** ![Javier\_Gallego](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/javier_gallego/32/77_2.png) [@Javier\_Gallego](https://techcommunity.softwareag.com/u/Javier_Gallego)\
**Post date:** [January 10, 2013, 2:41pm UTC](https://techcommunity.softwareag.com/t/webservice-exception/102298/2 "2013-01-10T14:41:35Z")

</div>

Hi Marco

After testing a bit the service, I got to the following:

- 

```
  The output document contains a number of non-required child documents/fields

```

- 

```
  If the response does not contain one of those non-required fields, then it will not be correctly interpreted and the exception is thrown.

```

A workaround is filling those fields with “empty string”. Seems that the only important thing is that the elements are present in the SOAP response.

I suppose this is a bug somewhere (not necessarily in the WMMD code), cause those fields are defined as not required.

Hope this helps,

Javier

---

<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:02pm UTC](https://techcommunity.softwareag.com/t/webservice-exception/102298/3 "2021-04-02T15:02:51Z")

</div>


