# ADABAS SOA Database Join

**URL:** <https://techcommunity.softwareag.com/t/adabas-soa-database-join/57911>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-Add-on-Products, Other-Adabas-add-on-products, Adabas-SOA-Gateway\
**Created:** [March 9, 2006, 4:58pm UTC](https://techcommunity.softwareag.com/t/adabas-soa-database-join/57911 "2006-03-09T16:58:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [March 9, 2006, 4:58pm UTC](https://techcommunity.softwareag.com/t/adabas-soa-database-join/57911/1 "2006-03-09T16:58:51Z")

</div>

:shock: :shock: :shock:

Hi all,

is there anyone out there who can give me some hints how to handle a database join with Adabas SOA Gateway with Java.  
When generating the java classes with WSDL2Java it will generate 10 or 12 classes for each endpoint. So when accessing 3 endpoints I will get up to 36 or so classes.

Is there any way to reduce that number. Which files can I assemble, which not?

Best regards  
😃 SOA-Dago 😃

---

<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 9, 2006, 5:06pm UTC](https://techcommunity.softwareag.com/t/adabas-soa-database-join/57911/2 "2006-03-09T17:06:33Z")

</div>

Dago,

all of these classes are generated from the WSDL, so you can’t skip any of them.  
There’s no “common code”, so for two files to be accessed / joined, you’ll need all the classes for those files.

We are considering providing our own, light-weight wrapper instead of (or better: in addition to, you’ll still be able to use) Axis, this would reduce the number of generated classes.

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [March 9, 2006, 5:41pm UTC](https://techcommunity.softwareag.com/t/adabas-soa-database-join/57911/3 "2006-03-09T17:41:03Z")

</div>

:shock::shock::shock:

Does this applies to PHP programming model too ?

😢SOA-Dago:cry:

---

<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 9, 2006, 5:52pm UTC](https://techcommunity.softwareag.com/t/adabas-soa-database-join/57911/4 "2006-03-09T17:52:57Z")

</div>

> [@Dagobert Naujoks](#):
>
> Does this applies to PHP programming model too ?

Nope, because you don’t have to “pre-generate” something with PHPsoap, it’s all done at runtime, as in:

```auto
$soapclient = new SoapClient( "http://soagate:8082/adabas/EmployeesMini?WSDL" );
        
$functions = $soapclient->__getFunctions();
	
$types = $soapclient->__getTypes();
	
$AdabasEmployeeListKey = array ('personnel_id'=> '300001*', 'firstName'=>'', 'name'=>'', 'city'=>'');
	
$Adabasresponse = $soapclient->list($AdabasEmployeeListKey);  
```

---

<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:38pm UTC](https://techcommunity.softwareag.com/t/adabas-soa-database-join/57911/5 "2021-04-02T14:38:56Z")

</div>


