# Ediint pubclienthttp javanetConnectException Connection refused

**URL:** <https://techcommunity.softwareag.com/t/ediint-pubclienthttp-javanetconnectexception-connection-refused/107679>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [April 23, 2004, 5:40pm UTC](https://techcommunity.softwareag.com/t/ediint-pubclienthttp-javanetconnectexception-connection-refused/107679 "2004-04-23T17:40:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddgnani](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@ddgnani](https://techcommunity.softwareag.com/u/ddgnani)\
**Post date:** [April 23, 2004, 5:40pm UTC](https://techcommunity.softwareag.com/t/ediint-pubclienthttp-javanetconnectexception-connection-refused/107679/1 "2004-04-23T17:40:00Z")

</div>

Our ediint delivery service uses pub.client.http to post ediint data to the partner’s URI. This service is just fine for all partners except for one partner it is failing. When i step thru the delivery service, the pub.client.http service FAILS and doesnt give any http response code but the following error message is captured in getLastError service  
java.net.ConnectException: Connection refused: no further information.  
I am wondering is this an issue with Partner Server or something else. If this is a partner server problem, should not i be seeing some bad http response code? why is pub.client.http service failing?

Suggestions highly appreciated.

DG

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [April 23, 2004, 6:44pm UTC](https://techcommunity.softwareag.com/t/ediint-pubclienthttp-javanetconnectexception-connection-refused/107679/2 "2004-04-23T18:44:25Z")

</div>

DG,

You should use the wm.EDIINT:send gateway service to post EDIINT AS1/AS2 messages.  
Can you tell what is the reason behind of using pub.client:http service?

Thanks,

---

<div class="post-metadata">

**Author:** ![ddgnani](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@ddgnani](https://techcommunity.softwareag.com/u/ddgnani)\
**Post date:** [April 23, 2004, 7:15pm UTC](https://techcommunity.softwareag.com/t/ediint-pubclienthttp-javanetconnectexception-connection-refused/107679/3 "2004-04-23T19:15:56Z")

</div>

RMG,

Thanks for your quick response.  
Yes wm.EDIINT.send service is used too. However wm.EDIINT.send service just creates the ediint doc out of edi data and drops in TN. Later processing rule gets kicked off and invokes wm.EDIINT.rules:deliveryDocument service. One of the steps of this service is pub.client.http that posts the ediint data to partner. This http service FAILS in this case as mentioned in my previous post.

I am still looking for any hints.

DG

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [April 23, 2004, 7:29pm UTC](https://techcommunity.softwareag.com/t/ediint-pubclienthttp-javanetconnectexception-connection-refused/107679/4 "2004-04-23T19:29:12Z")

</div>

Thanks,it Make sense now…Sorry for diverting your original problem.

Regarding Connection error it seems like the target server might be down,Please contact the network admin to do a snifer check on the wm server installed location (OSlevel) and i think you might have contacted your trading partner side to make sure their server is UP.

HTH,

---

<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:** [April 23, 2004, 10:04pm UTC](https://techcommunity.softwareag.com/t/ediint-pubclienthttp-javanetconnectexception-connection-refused/107679/5 "2004-04-23T22:04:34Z")

</div>

Hi DG  
The message you are getting is from the partner server. As RMG mentioned either partner server is down or some network problem.

Ajay

---

<div class="post-metadata">

**Author:** ![Jordy](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@Jordy](https://techcommunity.softwareag.com/u/Jordy)\
**Post date:** [April 28, 2004, 8:36pm UTC](https://techcommunity.softwareag.com/t/ediint-pubclienthttp-javanetconnectexception-connection-refused/107679/6 "2004-04-28T20:36:53Z")

</div>

You ca also look into firewall issues at the partner side as.

-Jordy

---

<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:04pm UTC](https://techcommunity.softwareag.com/t/ediint-pubclienthttp-javanetconnectexception-connection-refused/107679/7 "2021-04-02T15:04:53Z")

</div>


