how to configure 8191 port to receive asynchronous response from esMD

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

how to configure 8191 port to receive asynchronous response from esMD

anji
Hi All,
   Can some one please help me out on how to configure 8191 port to receive asynchronous responses from esMD. As per the docs. i followed, I did the following changes in internalconnectinfo.xml file...

1.
<businessService serviceKey="uddi:nhincnode:CORE_X12DSGenericBatchResponse" businessKey="urn:oid:<key>">
                <name xml:lang="en">CORE_X12DSGenericBatchResponse</name>
                <bindingTemplates>
                    <bindingTemplate bindingKey="uddi:nhincnode:CORE_X12DSGenericBatchResponse" serviceKey="uddi:nhincnode:CORE_X12DSGenericBatchResponse">
                       
                        <accessPoint useType="endPoint">https://<HIHgatewayhostip>:8191/Gateway/CORE_X12DocumentSubmission/1_0/GenericBatchResponseTransaction_Service</accessPoint>

</businessService>

2. Added some cipher suites in domain.xml file.

Right now receiving asynchronous responses from CMS not started. But, I am trying to mock it with the above endpoint URL. But, i am getting connection refused error.
Firewalls and all are in disable state.
I haven't seen any GenericBatchResponseTransaction_Service running with 8191 port.
But, I can see the service running in 8080 and 8181 only.
I really confused how it works. When i do netstat i couldn't see 8191 port in the output.



Your quick help is much appreciated!!!

Thanks,
Anji
Reply | Threaded
Open this post in threaded view
|

Re: how to configure 8191 port to receive asynchronous response from esMD

sc000ter
I'm no expert but I've gotten bitten by needing a port open.

Have you configured another http listener in your domain.xml for port 8191?

Something like this:
<network-listener port="8191" protocol="http-listener-2" transport="tcp" name="http-listener-2" thread-pool="http-thread-pool"></network-listener>
Reply | Threaded
Open this post in threaded view
|

Re: how to configure 8191 port to receive asynchronous response from esMD

anji
Thanks for your reply.
Yeah, you are right. We need to create network-listener entry in domain.xml for 8191 port.
But, i already have 8181 port configured with the id "http-listener-2". So, Do i need to create a new entry like "http-listener-3" or else do i need to modify 8181 with 8191. Confused here... can you assist me please..

sneak peak from domain.xml corresponding to 8181 port:

<network-listener port="8181" protocol="http-listener-2" transport="tcp" name="http-listener-2" thread-pool="http-thread-pool"></network-listener>

<http-listener id="http-listener-2" port="8181" address="0.0.0.0" security-enabled="true" default-virtual-server="server" server-name="">
      <ssl cert-nickname="gateway" client-auth-enabled="true"></ssl>
</http-listener>

and there are other 4-5 places where http-listener-2 is been referring in domain.xml file.



Reply | Threaded
Open this post in threaded view
|

Re: how to configure 8191 port to receive asynchronous response from esMD

Minh
Administrator
HI anji,

If you want to create another port like 8191 and still need 8181, I would recommend to create new http-listener and add similar entries like "http-listener-2" in domain.xml.  
Hope this will help
Minh-Hai Nguyen
CONNECT Product Team Member
Reply | Threaded
Open this post in threaded view
|

Re: how to configure 8191 port to receive asynchronous response from esMD

anji
Thats Great Minh. I did the same thing and now the port is listening. But, when i call a service which is to receive asynchronous response from esMD, I got the following error....

Tue Nov 22 12:36:20 UTC 2016:ERROR:org.apache.http.NoHttpResponseException: The target server failed to respond

http://<HIHGatewayIP>:8191/Gateway/CORE_X12DocumentSubmission/1_0/GenericBatchResponseTransaction_Service

I configured it in internalConnectionInfo.xml as follows....

<businessService serviceKey="uddi:nhincnode:CORE_X12DSGenericBatchResponse" businessKey="urn:oid:2.16.840.1.113883.3.667.1">
                <name xml:lang="en">CORE_X12DSGenericBatchResponse</name>
                <bindingTemplates>
                    <bindingTemplate bindingKey="uddi:nhincnode:CORE_X12DSGenericBatchResponse" serviceKey="uddi:nhincnode:CORE_X12DSGenericBatchResponse">
                        <accessPoint useType="endPoint">https://<HIHGatewayIP>:8191/Gateway/CORE_X12DocumentSubmission/1_0/GenericBatchResponseTransaction_Service</accessPoint>
                        <categoryBag>
                            <keyedReference tModelKey="uddi:nhin:versionofservice" keyName="" keyValue="1.0"/>
                        </categoryBag>
                    </bindingTemplate>
                </bindingTemplates>
                <categoryBag>
                    <keyedReference tModelKey="uddi:nhin:standard-servicenames" keyName="CORE_X12DSGenericBatchResponse" keyValue="CORE_X12DSGenericBatchResponse"/>
                </categoryBag>
            </businessService>


When i do netstat this port is listening....
tcp6       0      0 :::8191                 :::*                    LISTEN      4733/java            off (0.00/0/0)


Can you tell me which went wrong??

Thanks,
Anji
Reply | Threaded
Open this post in threaded view
|

Re: how to configure 8191 port to receive asynchronous response from esMD

Sovann Huynh
Administrator
Hi there, you might also be able to find helpful advice on the WildFly support forum - https://developer.jboss.org/en/wildfly?view=discussions&_sscc=t
Sovann
CONNECT Product Team Member