# SOAP Gateway exception

**URL:** <https://techcommunity.softwareag.com/t/soap-gateway-exception/59368>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [July 6, 2005, 5:33pm UTC](https://techcommunity.softwareag.com/t/soap-gateway-exception/59368 "2005-07-06T17:33:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![El\_Charlie](https://avatars.discourse-cdn.com/v4/letter/e/4bbf92/32.png) [@El\_Charlie](https://techcommunity.softwareag.com/u/El_Charlie)\
**Post date:** [July 6, 2005, 5:33pm UTC](https://techcommunity.softwareag.com/t/soap-gateway-exception/59368/1 "2005-07-06T17:33:50Z")

</div>

Hi all 😉

I’m working with EntireX Mediator v 7.4.1.1.

I’m using the SOAP gateway to invoke a web service, and TCPMon in order to monitoring the requests/responses. When I create the SOAP gateway and I configure it with the wizard, TCPMon traces the mediator WSDL request and the WS response (there is communication at least…)

The WS accepts 3 string parameters (in0, in1 and in2) and returns another string (myactionReturn). At runtime, this exception occurs (traced in {MediatorHome}/host/logs/DefaultComponentFactory.xbd.log):

[color=“red”]  
[slf5s.start]06 jul 2005 11:58:20,296[slf5s.DATE]Thread-7[slf5s.THREAD]ERROR[slf5s.PRIORITY]xbd[slf5s.CATEGORY]- SagSequencer - 1e228bc~104eb08a242~~7fcb - SEQUENCER ERROR: sequence “[http://localhost:8090/slide/users/myuser/repository/test/sequences/soapSeq.xml](http://localhost:8090/slide/users/myuser/repository/test/sequences/soapSeq.xml)”, line 5, : com.softwareag.xbridge.exceptions.XException: embedded exception: java.lang.NullPointerException[slf5s.MESSAGE]  
com.softwareag.xbridge.exceptions.XException: embedded exception: java.lang.NullPointerException  
at com.softwareag.xbridge.soapgateway.SoapGatewayImpl.addRawParameter(DashOB6501:1064)  
at com.softwareag.xbridge.soapgateway.SoapGatewayImpl.prepareRPCCall(DashOB6501:904)  
at com.softwareag.xbridge.soapgateway.SoapGatewayImpl.modify(DashOB6501:695)  
at com.softwareag.xbridge.infrastructure.y.modify(DashOB6501:56)  
at com.softwareag.xbridge.sequencer.KeywordSTEP.execute(DashOB6501:233)  
at com.softwareag.xbridge.sequencer.SequencerImpl.execute(DashOB6501:1081)  
at com.softwareag.xbridge.sequencer.SequencerImpl.dispatch(DashOB6501:753)  
at com.softwareag.xbridge.infrastructure.ac.perform(DashOB6501:278)  
at com.softwareag.xbridge.util.WorkerThread.run(DashOB6501:459)

[/color]

The line where the problem occurs is :

```auto

<step component="SagSoapGateway" xbd.soap.arg0.in0="parameter1" xbd.soap.arg1.in1="parameter2" xbd.soap.arg2.in2="parameter3" xbd.soap.handlefault="false" xbd.soap.operation="{{urn:myservice}}myaction" xbd.soap.port.qn="{{urn:myservice}}myservice" xbd.soap.res0.myactionReturn="" xbd.soap.service.qn="{{urn:myservice}}ServiceMyServices" xbd.soap.session="false" xbd.soap.style="rpc" xbd.soap.wsdl.url="http://localhost:9090/axis/services/myservice?wsdl" xbd.zid="N400049"/>
```

At execution time, TCPMon doesn’t trace anything (the failure is previous to the WS invocation).

Any idea?

Thanks in advance 😉

---

<div class="post-metadata">

**Author:** ![Mike\_Bernat](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Mike\_Bernat](https://techcommunity.softwareag.com/u/Mike_Bernat)\
**Post date:** [July 7, 2005, 10:05pm UTC](https://techcommunity.softwareag.com/t/soap-gateway-exception/59368/2 "2005-07-07T22:05:12Z")

</div>

Hello Carlos,

The values to be specified in the xbd.soap.arg#… properties must be XPath expressions that return the values for the parameters for an RPC style service and appropriate document fragments for a document style service. The xbd.soap.res#… properites identify locations in the Mediator payload where the result(s) will be placed.

Hope this helps.

* * *

Best regards,  
Mike

---

<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/soap-gateway-exception/59368/3 "2021-04-02T14:39:48Z")

</div>


