|
-----Original Message-----(JAVA400-L)
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-
bounces@xxxxxxxxxxxx] On Behalf Of Coyle, Stephen F.
Sent: Tuesday, April 28, 2009 11:17 AM
To: java400-l@xxxxxxxxxxxx
Subject: Classpath question
Hi All,
I have a web service that was created through the integrated web
services server. I needed to go in and change a loop counter so as not
to return the maximum number of elements, only the populated elements.
I've done this but now I cannot seem to get the java compiled.
Here are snippets of the code.
Program p57301.java imports:
package iseries.wsbeans.wsgetpo;
import java.lang.Integer;
import iseries.wsbeans.wsgetpo.DATADS;
import java.math.BigDecimal;
import iseries.programcall.base.AbstractProgramCallBean;
import com.ibm.as400.access.AS400Message;
import com.ibm.as400.access.AS400;
import com.ibm.as400.access.Trace;
import iseries.programcall.base.RuntimeContext;
import com.ibm.as400.data.ProgramCallDocument;
import iseries.programcall.base.Constants;
import iseries.programcall.base.Messages;
import iseries.wsbeans.wsgetpo.F4311DS;
import iseries.wsbeans.wsgetpo.DSDTL;
import iseries.wsbeans.wsgetpo.DSASSOC;
import iseries.wsbeans.wsgetpo.DSBOND;
My compile process:
QSH
export -s CLASSPATH=.:
/QIBM/ProdData/OS400/jt400/lib/jt400Native.jar:/www/WSERVI
CE1/webservices/services/wsGetPO/iseries/wsbeans/wsgetpo/:
cd ':/www/WSERVI CE1/
webservices/services/wsGetPO/iseries/wsbeans/wsgetpo/'
javac p57301.java
Classes residing in my current directory:
DSBOND.class
DSASSOC.class
DSDTL.class
F4311DS.class
DATADS.class
P57301.class
WsGetPOServices.class
P57301Input.class
P57301Result.class
Sample errors:
p57301.java:5: cannot resolve symbol
symbol : class DATADS
location: package wsgetpo
import iseries.wsbeans.wsgetpo.DATADS;
^
p57301.java:7: package iseries.programcall.base does not exist
import iseries.programcall.base.AbstractProgramCallBean;
^
I've tried several variations to my classpath but cannot seem to point
to the right place.
Thanks for any help....
- Steve
--
This is the Java Programming on and around the iSeries / AS400
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.