× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.