| Author |
Message |
Roland
Guest
|
Posted:
Wed Nov 17, 2004 4:06 pm Post subject:
How to configure AS400 port to make WIP sample work |
|
|
Hi all,
I'm trying to figure out what HIS can do for us and started with the WIP
sample using OS400_DPC_TCP_CedarBank_NET.DLL. (Windows-Initiated Processing
Tutorial: WIP Web Service Client to OS/400 Server (Using .NET))
In this sample I should configure a remote environment using (according to
MSDN) port 1111. The sample does not say how this port should be configured
on AS400. I don't understand how the AS400 should know he should listen to
port 1111.
The rest of the example is clear, but when I try to run it I get "connection
refused", obviously because I'm using an unknown port.
Thanks in advance,
Roland. |
|
| Back to top |
|
 |
Aaron Grady [MSFT]
Guest
|
Posted:
Wed Nov 17, 2004 11:40 pm Post subject:
Re: How to configure AS400 port to make WIP sample work |
|
|
Roland-
Our TI WIP objects for AS/400 need to talk to the AS-RMTCMD listener that is
on your AS/400. By default this listener is using port 8475. You can check
this by going to an AS/400 command line and typing NETSTAT and then choosing
option 3 (Work with TCP/IP connection status). Scroll through the list until
you find AS-RMTCMD and then hit F14 to show the port number.
HTH,
--
Aaron Grady
MCSE + Internet, MCDBA, MCSD
SNA Server/Host Integration Server 2000
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Roland" <r.vandemortel@pinkroccade.com> wrote in message
news:O4j0B0IzEHA.1188@tk2msftngp13.phx.gbl...
| Quote: | Hi all,
I'm trying to figure out what HIS can do for us and started with the WIP
sample using OS400_DPC_TCP_CedarBank_NET.DLL. (Windows-Initiated
Processing
Tutorial: WIP Web Service Client to OS/400 Server (Using .NET))
In this sample I should configure a remote environment using (according to
MSDN) port 1111. The sample does not say how this port should be
configured
on AS400. I don't understand how the AS400 should know he should listen to
port 1111.
The rest of the example is clear, but when I try to run it I get
"connection
refused", obviously because I'm using an unknown port.
Thanks in advance,
Roland.
|
|
|
| Back to top |
|
 |
Roland
Guest
|
Posted:
Thu Nov 18, 2004 8:33 pm Post subject:
Re: How to configure AS400 port to make WIP sample work |
|
|
Thanks Aaron, I tried this before but it gave an error and since the example
on MSDN said I should use port 1111, I thougt I was on the wrong way and did
not investigate any further.
The runtime error I get using port 8475 is "(2183) The TCP Transport
received a start server request failure from RE AS400 (PAMELA), AS400 DPC
returned: primary return code is 2, secondary return code is 1"
(In case you're wondering: "Pamela" is the name of the AS400 and it's called
that way because it's completly round on one side. (It was not my idea!))
Where can I find what these return codes mean? I tried the internet but
couldn't find much help there. Maybe it has to do with the fact that I
didn't tell where to find the cedrbank program on AS400? I'm used to having
to make a jobdescription, or is the use of APPINT hardcoded in the sample?
I put tracing on and copied the most interesting part (IMHO) below. I'm sure
that there is some connectivity on AS400 since the port resets the idle time
as
soon as the sample stopped.
Tracefile:
*********************
1472 00000bac Nov 18 12:32:34.572 15015 ConvertObj SizeOfRemoteType module
has been exited hr=00000000
1472 00000bac Nov 18 12:32:34.572 15013 ConvertObj UnpackElem module has
been exited hr=00000000
1472 00000bac Nov 18 12:32:34.572 18006 TCP Transport Connect exited
abnormally, at point=9, hr=80040887
1472 00000bac Nov 18 12:32:34.572 12013 State Machine Bind failed
1472 00000bac Nov 18 12:32:34.572 13019 CSMDispObject::ResetResource
entered.
1472 00000bac Nov 18 12:32:34.572 13020 CSMDispObject::ResetResource
returns S_OK.
1472 00000bac Nov 18 12:32:34.572 13002 CSMDispObject::GetStateMachine
failed, hr=0x80020009.
1472 00000bac Nov 18 12:32:34.572 10032 Client call to
IDispatch::Invoke(cedrbank), Elapsed time=0.042 seconds, returns exception
'(2183) The TCP Transport received a start server request failure from RE
AS400 (PAMELA), AS400 DPC returned: primary return code is 2, secondary
return code is 1'.
1472 00000bac Nov 18 12:32:34.572 11003 Remoting Interceptor returning from
OS400_DPC_NET.CedarBank.cedrbank with exception
'Microsoft.HostIntegration.TI.CustomTIException: (2183) The TCP Transport
received a start server request failure from RE AS400 (PAMELA), AS400 DPC
returned: primary return code is 2, secondary return code is 1'.
*********************
TIA
"Aaron Grady [MSFT]" <aagrady@online.microsoft.com> wrote in message
news:OtkR%23xMzEHA.1392@TK2MSFTNGP14.phx.gbl...
| Quote: | Roland-
Our TI WIP objects for AS/400 need to talk to the AS-RMTCMD listener that
is
on your AS/400. By default this listener is using port 8475. You can check
this by going to an AS/400 command line and typing NETSTAT and then
choosing
option 3 (Work with TCP/IP connection status). Scroll through the list
until
you find AS-RMTCMD and then hit F14 to show the port number.
HTH,
--
Aaron Grady
MCSE + Internet, MCDBA, MCSD
SNA Server/Host Integration Server 2000
Microsoft
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Roland" <r.vandemortel@pinkroccade.com> wrote in message
news:O4j0B0IzEHA.1188@tk2msftngp13.phx.gbl...
Hi all,
I'm trying to figure out what HIS can do for us and started with the WIP
sample using OS400_DPC_TCP_CedarBank_NET.DLL. (Windows-Initiated
Processing
Tutorial: WIP Web Service Client to OS/400 Server (Using .NET))
In this sample I should configure a remote environment using (according
to
MSDN) port 1111. The sample does not say how this port should be
configured
on AS400. I don't understand how the AS400 should know he should listen
to
port 1111.
The rest of the example is clear, but when I try to run it I get
"connection
refused", obviously because I'm using an unknown port.
Thanks in advance,
Roland.
|
|
|
| Back to top |
|
 |
Aaron Grady [MSFT]
Guest
|
Posted:
Sat Nov 20, 2004 7:58 am Post subject:
Re: How to configure AS400 port to make WIP sample work |
|
|
Roland-
I believe the interface we are using is not publicly documented by IBM so I
can't point you to a reference. I believe the return codes you are seeing
are referring to a security problem. Did you pass a userID and password with
the call? Did you turn on security on the RE? I would double check those
things first and then go from there.
HTH,
--
Aaron Grady
MCSE + Internet, MCDBA, MCSD
SNA Server/Host Integration Server 2000
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Roland" <r.vandemortel@pinkroccade.com> wrote in message
news:%23kUgRuXzEHA.2572@tk2msftngp13.phx.gbl...
| Quote: | Thanks Aaron, I tried this before but it gave an error and since the
example
on MSDN said I should use port 1111, I thougt I was on the wrong way and
did
not investigate any further.
The runtime error I get using port 8475 is "(2183) The TCP Transport
received a start server request failure from RE AS400 (PAMELA), AS400 DPC
returned: primary return code is 2, secondary return code is 1"
(In case you're wondering: "Pamela" is the name of the AS400 and it's
called
that way because it's completly round on one side. (It was not my idea!))
Where can I find what these return codes mean? I tried the internet but
couldn't find much help there. Maybe it has to do with the fact that I
didn't tell where to find the cedrbank program on AS400? I'm used to
having
to make a jobdescription, or is the use of APPINT hardcoded in the sample?
I put tracing on and copied the most interesting part (IMHO) below. I'm
sure
that there is some connectivity on AS400 since the port resets the idle
time
as
soon as the sample stopped.
Tracefile:
*********************
1472 00000bac Nov 18 12:32:34.572 15015 ConvertObj SizeOfRemoteType
module
has been exited hr=00000000
1472 00000bac Nov 18 12:32:34.572 15013 ConvertObj UnpackElem module has
been exited hr=00000000
1472 00000bac Nov 18 12:32:34.572 18006 TCP Transport Connect exited
abnormally, at point=9, hr=80040887
1472 00000bac Nov 18 12:32:34.572 12013 State Machine Bind failed
1472 00000bac Nov 18 12:32:34.572 13019 CSMDispObject::ResetResource
entered.
1472 00000bac Nov 18 12:32:34.572 13020 CSMDispObject::ResetResource
returns S_OK.
1472 00000bac Nov 18 12:32:34.572 13002 CSMDispObject::GetStateMachine
failed, hr=0x80020009.
1472 00000bac Nov 18 12:32:34.572 10032 Client call to
IDispatch::Invoke(cedrbank), Elapsed time=0.042 seconds, returns exception
'(2183) The TCP Transport received a start server request failure from RE
AS400 (PAMELA), AS400 DPC returned: primary return code is 2, secondary
return code is 1'.
1472 00000bac Nov 18 12:32:34.572 11003 Remoting Interceptor returning
from
OS400_DPC_NET.CedarBank.cedrbank with exception
'Microsoft.HostIntegration.TI.CustomTIException: (2183) The TCP Transport
received a start server request failure from RE AS400 (PAMELA), AS400 DPC
returned: primary return code is 2, secondary return code is 1'.
*********************
TIA
"Aaron Grady [MSFT]" <aagrady@online.microsoft.com> wrote in message
news:OtkR%23xMzEHA.1392@TK2MSFTNGP14.phx.gbl...
Roland-
Our TI WIP objects for AS/400 need to talk to the AS-RMTCMD listener
that
is
on your AS/400. By default this listener is using port 8475. You can
check
this by going to an AS/400 command line and typing NETSTAT and then
choosing
option 3 (Work with TCP/IP connection status). Scroll through the list
until
you find AS-RMTCMD and then hit F14 to show the port number.
HTH,
--
Aaron Grady
MCSE + Internet, MCDBA, MCSD
SNA Server/Host Integration Server 2000
Microsoft
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Roland" <r.vandemortel@pinkroccade.com> wrote in message
news:O4j0B0IzEHA.1188@tk2msftngp13.phx.gbl...
Hi all,
I'm trying to figure out what HIS can do for us and started with the
WIP
sample using OS400_DPC_TCP_CedarBank_NET.DLL. (Windows-Initiated
Processing
Tutorial: WIP Web Service Client to OS/400 Server (Using .NET))
In this sample I should configure a remote environment using
(according
to
MSDN) port 1111. The sample does not say how this port should be
configured
on AS400. I don't understand how the AS400 should know he should
listen
to
port 1111.
The rest of the example is clear, but when I try to run it I get
"connection
refused", obviously because I'm using an unknown port.
Thanks in advance,
Roland.
|
|
|
| Back to top |
|
 |
Roland
Guest
|
Posted:
Tue Nov 23, 2004 4:30 pm Post subject:
Re: How to configure AS400 port to make WIP sample work |
|
|
Hi Aaron,
I really thought that I did this part OK but didn't come up with the idea
that these where case sensitive (since AS400 always uses capitals) untill a
colleage pointed this out.
Thanks anyway,
Roland.
"Aaron Grady [MSFT]" <aagrady@online.microsoft.com> wrote in message
news:ehMrlRqzEHA.3820@TK2MSFTNGP11.phx.gbl...
| Quote: | Roland-
I believe the interface we are using is not publicly documented by IBM so
I
can't point you to a reference. I believe the return codes you are seeing
are referring to a security problem. Did you pass a userID and password
with
the call? Did you turn on security on the RE? I would double check those
things first and then go from there.
HTH,
--
Aaron Grady
MCSE + Internet, MCDBA, MCSD
SNA Server/Host Integration Server 2000
Microsoft
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Roland" <r.vandemortel@pinkroccade.com> wrote in message
news:%23kUgRuXzEHA.2572@tk2msftngp13.phx.gbl...
Thanks Aaron, I tried this before but it gave an error and since the
example
on MSDN said I should use port 1111, I thougt I was on the wrong way and
did
not investigate any further.
The runtime error I get using port 8475 is "(2183) The TCP Transport
received a start server request failure from RE AS400 (PAMELA), AS400
DPC
returned: primary return code is 2, secondary return code is 1"
(In case you're wondering: "Pamela" is the name of the AS400 and it's
called
that way because it's completly round on one side. (It was not my
idea!))
Where can I find what these return codes mean? I tried the internet but
couldn't find much help there. Maybe it has to do with the fact that I
didn't tell where to find the cedrbank program on AS400? I'm used to
having
to make a jobdescription, or is the use of APPINT hardcoded in the
sample?
I put tracing on and copied the most interesting part (IMHO) below. I'm
sure
that there is some connectivity on AS400 since the port resets the idle
time
as
soon as the sample stopped.
Tracefile:
*********************
1472 00000bac Nov 18 12:32:34.572 15015 ConvertObj SizeOfRemoteType
module
has been exited hr=00000000
1472 00000bac Nov 18 12:32:34.572 15013 ConvertObj UnpackElem module
has
been exited hr=00000000
1472 00000bac Nov 18 12:32:34.572 18006 TCP Transport Connect exited
abnormally, at point=9, hr=80040887
1472 00000bac Nov 18 12:32:34.572 12013 State Machine Bind failed
1472 00000bac Nov 18 12:32:34.572 13019 CSMDispObject::ResetResource
entered.
1472 00000bac Nov 18 12:32:34.572 13020 CSMDispObject::ResetResource
returns S_OK.
1472 00000bac Nov 18 12:32:34.572 13002 CSMDispObject::GetStateMachine
failed, hr=0x80020009.
1472 00000bac Nov 18 12:32:34.572 10032 Client call to
IDispatch::Invoke(cedrbank), Elapsed time=0.042 seconds, returns
exception
'(2183) The TCP Transport received a start server request failure from
RE
AS400 (PAMELA), AS400 DPC returned: primary return code is 2, secondary
return code is 1'.
1472 00000bac Nov 18 12:32:34.572 11003 Remoting Interceptor returning
from
OS400_DPC_NET.CedarBank.cedrbank with exception
'Microsoft.HostIntegration.TI.CustomTIException: (2183) The TCP
Transport
received a start server request failure from RE AS400 (PAMELA), AS400
DPC
returned: primary return code is 2, secondary return code is 1'.
*********************
TIA
"Aaron Grady [MSFT]" <aagrady@online.microsoft.com> wrote in message
news:OtkR%23xMzEHA.1392@TK2MSFTNGP14.phx.gbl...
Roland-
Our TI WIP objects for AS/400 need to talk to the AS-RMTCMD listener
that
is
on your AS/400. By default this listener is using port 8475. You can
check
this by going to an AS/400 command line and typing NETSTAT and then
choosing
option 3 (Work with TCP/IP connection status). Scroll through the list
until
you find AS-RMTCMD and then hit F14 to show the port number.
HTH,
--
Aaron Grady
MCSE + Internet, MCDBA, MCSD
SNA Server/Host Integration Server 2000
Microsoft
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Roland" <r.vandemortel@pinkroccade.com> wrote in message
news:O4j0B0IzEHA.1188@tk2msftngp13.phx.gbl...
Hi all,
I'm trying to figure out what HIS can do for us and started with the
WIP
sample using OS400_DPC_TCP_CedarBank_NET.DLL. (Windows-Initiated
Processing
Tutorial: WIP Web Service Client to OS/400 Server (Using .NET))
In this sample I should configure a remote environment using
(according
to
MSDN) port 1111. The sample does not say how this port should be
configured
on AS400. I don't understand how the AS400 should know he should
listen
to
port 1111.
The rest of the example is clear, but when I try to run it I get
"connection
refused", obviously because I'm using an unknown port.
Thanks in advance,
Roland.
|
|
|
| Back to top |
|
 |
|
|
|
|