# Invocation of a DOT NET Service

**URL:** <https://techcommunity.softwareag.com/t/invocation-of-a-dot-net-service/58566>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [May 26, 2004, 11:32am UTC](https://techcommunity.softwareag.com/t/invocation-of-a-dot-net-service/58566 "2004-05-26T11:32:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nagesh](https://avatars.discourse-cdn.com/v4/letter/n/7ba0ec/32.png) [@Nagesh](https://techcommunity.softwareag.com/u/Nagesh)\
**Post date:** [May 26, 2004, 11:32am UTC](https://techcommunity.softwareag.com/t/invocation-of-a-dot-net-service/58566/1 "2004-05-26T11:32:01Z")

</div>

Hi All,  
  
 I am using Mediator version 7.2.1 and trying to invoke the DOT NET Service from the net but i could not.  
  
 So i have two questions on this regard  
1) how to set the proxy setting  
2) can we invoke a Dot NET Service from mediator, if so can you provide me with documentation/help on how to achieve this. How is DOT NET Service program different from Java Web Service.  
  
Thanks and Regards,  
Nagesh.

---

<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:** [May 26, 2004, 12:08pm UTC](https://techcommunity.softwareag.com/t/invocation-of-a-dot-net-service/58566/2 "2004-05-26T12:08:48Z")

</div>

Hi;  
  
if you look in the “XML Gateways” forum for the topic “SOAP Gateway Time-Out” you will find the answer to your first question regarding Mediator proxy settings.  
As to “.NET Service”, I would not be sure; but if it is a web Service (i.e. has a WSDL file) you should be able to use the SOAP gateway to call it.  
You should try to upgrade to Mediator v7.3, you will be pleasantly surprised by the new GUI (Mediator Studio) and the heap of new sequence components, among other improvements.

---

<div class="post-metadata">

**Author:** ![Nagesh](https://avatars.discourse-cdn.com/v4/letter/n/7ba0ec/32.png) [@Nagesh](https://techcommunity.softwareag.com/u/Nagesh)\
**Post date:** [May 27, 2004, 1:51pm UTC](https://techcommunity.softwareag.com/t/invocation-of-a-dot-net-service/58566/3 "2004-05-27T13:51:02Z")

</div>

Hi,  
  
 I tried invoking this [http://www.xmlwebservices.cc/ws/v1/time/TimeService.asmx](http://www.xmlwebservices.cc/ws/v1/time/TimeService.asmx) service from mediator, but i am getting the following error message in the mediator log.  
  
 The log says Axis:inoke Connection time out, i have set the proxy setting in mediator, and i checked my proxy server log but could not find the entry for this service, so its confirmed that the request did not reached proxy. so i feel that the proxy setting i have done r not taken by the mediator,  
  
 i have set -Dhttp.proxyHost=“10.60.16.111” -Dhttp.proxyPort=“3128” in launchGUI.bat, startFactoryCommand.bat and startHostManagerCommand.bat files.  
  
 can any one plz help me out, what could be the problem.  
  
Log Trace : …  
\<?xml version="1.0" encoding="UTF-8"?\>  
\<soapenv:Envelope xmlns:soapenv=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)” xmlns:xsd=“[XML Schema](http://www.w3.org/2001/XMLSchema)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)”\>  
 soapenv:Bodytrue \</soapenv:Body\>  
\</soapenv:Envelope\>  
 client.AxisClient[slf5s.CATEGORY] - Enter: AxisClient::invoke[slf5s.MESSAGE]  
 client.AxisClient[slf5s.CATEGORY] - EngineHandler: null[slf5s.MESSAGE]  
 axis.SimpleChain[slf5s.CATEGORY] - Enter: SimpleChain::invoke[slf5s.MESSAGE]  
 i18n.ProjectResourceBundle[slf5s.CATEGORY] - org.apache.axis.i18n.resource::handleGetObject(enter00)[slf5s.MESSAGE]  
 http.HTTPSender[slf5s.CATEGORY] - Enter: HTTPSender::invoke[slf5s.MESSAGE]  
 http.HTTPSender[slf5s.CATEGORY] - java.net.ConnectException: Connection timed out: connect[slf5s.MESSAGE]  
 axis.SOAPPart[slf5s.CATEGORY] - Enter: SOAPPart ctor(FORM\_FAULT)[slf5s.MESSAGE]  
 i18n.ProjectResourceBundle[slf5s.CATEGORY] - org.apache.axis.i18n.resource::handleGetObject(setMsgForm)[slf5s.MESSAGE]  
 axis.SOAPPart[slf5s.CATEGORY] - Setting current message form to: FORM\_FAULT (currentMessage is now org.apache.axis.AxisFault)[slf5s.MESSAGE]  
 axis.SOAPPart[slf5s.CATEGORY] - Exit: SOAPPart ctor()[slf5s.MESSAGE]  
 i18n.ProjectResourceBundle[slf5s.CATEGORY] - org.apache.axis.i18n.resource::handleGetObject(exception00)[slf5s.MESSAGE]  
 client.AxisClient[slf5s.CATEGORY] - Exception:[slf5s.MESSAGE]  
 utils.NSStack[slf5s.CATEGORY] - NSPush (32)[slf5s.MESSAGE]  
 i18n.ProjectResourceBundle[slf5s.CATEGORY] - org.apache.axis.i18n.resource::handleGetObject(empty00)[slf5s.MESSAGE]  
 utils.NSStack[slf5s.CATEGORY] - NSPop (empty)[slf5s.MESSAGE]  
AxisFault  
 faultCode: {[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)}Server.userException  
 faultSubcode:   
 faultString: java.net.ConnectException: Connection timed out: connect  
 faultActor:   
 faultNode:   
 faultDetail:   
 {[http://xml.apache.org/axis/](http://xml.apache.org/axis/)}stackTrace: java.net.ConnectException: Connection timed out: connect  
 at java.net.PlainSocketImpl.socketConnect(Native Method)  
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)  
 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)  
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)  
 at java.net.Socket.connect(Socket.java:452)  
 at java.net.Socket.connect(Socket.java:402)  
 at java.net.Socket.(Socket.java:309)  
 at java.net.Socket.(Socket.java:124)  
 at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:129)  
 at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)  
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)  
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)  
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)  
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)  
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)  
 at org.apache.axis.client.Call.invokeEngine(Call.java:2526)  
 at org.apache.axis.client.Call.invoke(Call.java:2515)  
 at org.apache.axis.client.Call.invoke(Call.java:1637)  
 at com.softwareag.xbridge.soapgateway.SoapGatewayImpl.modify(Unknown Source)  
 at com.softwareag.xbridge.infrastructure.ModifierProxy.modify(Unknown Source)  
 at com.softwareag.xbridge.sequencer.KeywordSTEP.execute(Unknown Source)  
 at com.softwareag.xbridge.sequencer.SequencerImpl.b(Unknown Source)  
 at com.softwareag.xbridge.sequencer.SequencerImpl.dispatch(Unknown Source)  
 at com.softwareag.xbridge.infrastructure.DispatcherImpl$MessageDispatcher.perform(Unknown Source)  
 at com.softwareag.xbridge.util.WorkerThread.run(Unknown Source)  
  
  
java.net.ConnectException: Connection timed out: connect  
 at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)  
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)  
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)  
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)  
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)  
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)  
 at org.apache.axis.client.Call.invokeEngine(Call.java:2526)  
 at org.apache.axis.client.Call.invoke(Call.java:2515)  
 at org.apache.axis.client.Call.invoke(Call.java:1637)  
 at com.softwareag.xbridge.soapgateway.SoapGatewayImpl.modify(Unknown Source)  
 at com.softwareag.xbridge.infrastructure.ModifierProxy.modify(Unknown Source)  
 at com.softwareag.xbridge.sequencer.KeywordSTEP.execute(Unknown Source)  
 at com.softwareag.xbridge.sequencer.SequencerImpl.b(Unknown Source)  
 at com.softwareag.xbridge.sequencer.SequencerImpl.dispatch(Unknown Source)  
 at com.softwareag.xbridge.infrastructure.DispatcherImpl$MessageDispatcher.perform(Unknown Source)  
 at com.softwareag.xbridge.util.WorkerThread.run(Unknown Source)  
Caused by: java.net.ConnectException: Connection timed out: connect  
 at java.net.PlainSocketImpl.socketConnect(Native Method)  
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)  
 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)  
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)  
 at java.net.Socket.connect(Socket.java:452)  
 at java.net.Socket.connect(Socket.java:402)  
 at java.net.Socket.(Socket.java:309)  
 at java.net.Socket.(Socket.java:124)  
 at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:129)  
 at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)  
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)  
 … 14 more

---

<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:** [May 28, 2004, 6:36pm UTC](https://techcommunity.softwareag.com/t/invocation-of-a-dot-net-service/58566/4 "2004-05-28T18:36:33Z")

</div>

Hi Nagesh,  
  
You should enter the proxy properties in the Administration Console (System Management Hub) under Factories//Configuration/General. There is an item labeled “JVM Options” that will be used to start the Component Factory.  
  
Best regards,  
 Mike

---

<div class="post-metadata">

**Author:** ![Nagesh](https://avatars.discourse-cdn.com/v4/letter/n/7ba0ec/32.png) [@Nagesh](https://techcommunity.softwareag.com/u/Nagesh)\
**Post date:** [May 31, 2004, 3:52pm UTC](https://techcommunity.softwareag.com/t/invocation-of-a-dot-net-service/58566/5 "2004-05-31T15:52:59Z")

</div>

Hi Mike,  
  
To which version of mediator are you refering to, i am using 7.3 and i could not locate the specified location.  
  
 But i found the JVM -X Options under Factories/DefaultComponentFactory/Config Information, when i tried setting the -Dhttp.proxyHost=“xxx.xxx.xxx.xxx” -Dhttp.proxyPort=“xxxx” the factory does not start.  
  
please help me in this regard,  
  
Nagesh.

---

<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:** [June 1, 2004, 6:33am UTC](https://techcommunity.softwareag.com/t/invocation-of-a-dot-net-service/58566/6 "2004-06-01T06:33:53Z")

</div>

Hi Nagesh;  
  
That is the correct option. My line looks like this:  
  
-Xms64m -Dhttp.proxyHost=[httpprox.software-ag.de](http://httpprox.software-ag.de) -Dhttp.proxyPort=8080  
  
quotes around the values are ignored, however nake sure there is no space between the switch (-D, -X) and the property name.

---

<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/invocation-of-a-dot-net-service/58566/7 "2021-04-02T14:39:20Z")

</div>


