Update...
When I add to deployment descriptor as a Service Client Binding, I get a
different error message when testing. Im not sure which way to deploy this,
but both options didn't work.
- <soapenv:Envelope
xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <soapenv:Fault>
<faultcode
xmlns:ns1="
http://xml.apache.org/axis/">ns1:Server.NoService</faultcode>
<faultstring>The AXIS engine could not find a target service to invoke!
targetService is IGETREC</faultstring>
- <detail>
<ns2:hostname xmlns:ns2="
http://xml.apache.org/axis/">tower</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
-----Original Message-----
From: egl-i-bounces@xxxxxxxxxxxx [mailto:egl-i-bounces@xxxxxxxxxxxx] On
Behalf Of William A Smythe
Sent: Friday, January 09, 2009 9:36 AM
To: EGL on and around the IBM i
Cc: 'EGL on and around the IBM i'; egl-i-bounces@xxxxxxxxxxxx
Subject: Re: [EGL-i] externalType type HostProgram to access an iseries
program
RDi SOA 7.5 will generate the appropriate code for you if you right-click on
the RPG program in the Remote Systems view and select EGL Services > Create
EGL: External Type, Interface, and records.
Will Smythe
Product Line Manager
Host Integration, HATS, Rational Business Developer, and EGL IBM Rational
Software, RTP, NC
919.254.8771
smythew@xxxxxxxxxx
Visit the EGL Cafe -
http://www.ibm.com/rational/eglcafe
|------------>
| From: |
|------------>
---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|"tim" <tim2006@xxxxxxxxxxx>
|
---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|------------>
| To: |
|------------>
---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|"'EGL on and around the IBM i'" <egl-i@xxxxxxxxxxxx>
|
---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|------------>
| Date: |
|------------>
---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|01/09/2009 09:11 AM
|
---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|[EGL-i] externalType type HostProgram to access an iseries program
|
---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|------------>
| Sent by: |
|------------>
---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|egl-i-bounces@xxxxxxxxxxxx
|
---------------------------------------------------------------------------
-----------------------------------------------------------------------|
Has anyone used the following code to access an iseries program? I have not
been able to get it to work.
externalType GETREC type HostProgram{
platformData =[@i5OSProgram{programName = "GETREC",
programType = NATIVE,
isServiceProgram = false,
libraryName = "PRODLIB"} ]}
function GETREC(CUST filefmt, EOF char(1), COUNT decimal(2,0)){
hostName="GETREC"};
end
--
This is the EGL on and around the IBM i (EGL-i) mailing list To post a
message email: EGL-i@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit:
http://lists.midrange.com/mailman/listinfo/egl-i
or email: EGL-i-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/egl-i..
As an Amazon Associate we earn from qualifying purchases.