|
Aaron, ctor is the constructor. You need to make your constructor public, if you don't specify an access modifier then Java defaults to package. Don Yantzi WebSphere Development Studio Client for iSeries IBM Toronto Lab Phone: (905) 413-4476 IBM internal: IBMCA(yantzi) - Internet: yantzi@xxxxxxxxxx "Bartell, Aaron L. (TC)" <ALBartell@taylor To corp.com> "Websphere Development Studio Sent by: Client for iSeries" wdsci-l-bounces@m <wdsci-l@xxxxxxxxxxxx> idrange.com cc Subject 10/12/2004 11:21 [WDSCI-L] Web Service Java Bean AM Wizard - "public default ctor" Please respond to Websphere Development Studio Client for iSeries I am doing some JavaBean Web Service wizard action today and came across this error. http://mowyourlawn.com/temp/webservicebean.jpg I am guessing "ctor" is supposed to be "Actor", and even if it is I still don't know what it is asking for. I am following the directions in 'Developing > Web services > Developing Web services > Tools for Web services development' to create this web service. The bean that I created is very simple and resides in the JavaSource folder of a WebProject. package com.wgeb.cso; public class CSORequest { private String xml = ""; CSORequest(){ } public String process(String x){ this.xml = x; return "Hi there"; } } Any thoughts on what my problem might be? I have gotten this to work before but I don't remember the exact motions I went through to accomplish it. Aaron Bartell _______________________________________________ This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-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.