Return-Path: Delivered-To: apmail-ws-soap-user-archive@www.apache.org Received: (qmail 67694 invoked from network); 24 Sep 2004 20:47:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Sep 2004 20:47:24 -0000 Received: (qmail 63383 invoked by uid 500); 24 Sep 2004 20:49:30 -0000 Delivered-To: apmail-ws-soap-user-archive@ws.apache.org Received: (qmail 63245 invoked by uid 500); 24 Sep 2004 20:49:29 -0000 Mailing-List: contact soap-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: soap-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list soap-user@ws.apache.org Received: (qmail 63231 invoked by uid 99); 24 Sep 2004 20:49:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [64.65.202.3] (HELO contextmedia.com) (64.65.202.3) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 24 Sep 2004 13:49:27 -0700 Received: from ppeddi ([192.168.1.48]) by contextmedia.com ; Fri, 24 Sep 2004 16:48:56 -0400 Message-ID: <019001c4a277$e98daa80$aa87a8c0@ppeddi> From: "Praveen Peddi" To: References: <16041946832896@mail.tridsys.com> <200801c4a257$01a10200$6401a8c0@northgate> <008a01c4a25a$4827a2d0$aa87a8c0@ppeddi> <205201c4a25d$c86c1040$6401a8c0@northgate> Subject: Re: Adding a new soap service problem Date: Fri, 24 Sep 2004 16:48:57 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Rcpt-To: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have my jar file (which has a single class file and, of course, a manifest file) in {Tomcat-HOME}/webapps/ROOT/WEB-INF/classes folder. I tried both WEB-INF/classes and WEB-INF/lib folders. Neither of it worked. I have the DeployedServices.ds in {Tomcat-HOME}/webapps/ROOT folder. There is also "soap" folder in {Tomcat-Home}/webapps folder (which was the result of dropping the soap.war into webapps folder and starting the tomcat server while setting up soap for the first time). This soap folder also has a DeployedServices.ds file. I put a servlet HelloServlet.class into {Tomcat-HOME}/webapps/ROOT/WEB-INF/classes and I could access the servlet fine from the browser. I am little confused on what would be the default directory Tomcat server picks the java class files from. I am guessing it it is {Tomcat-HOME}/webapps/ROOT, but not sure. I worked on Weblogic and Websphere till now, and recently started working on Tomcat. Does this default root has to anything to do with "Context" field in {Tomcat-Home}/conf/server.xml? I guess this are the basics about what should where:"HTML/JSP files go in the main directory, the web.xml file goes in WEB-INF, unjarred Java classes go in WEB-INF/classes, and JAR files go in WEB-INF/lib." Is this right? Praveen ----- Original Message ----- From: "Scott Nichol" To: Sent: Friday, September 24, 2004 1:41 PM Subject: Re: Adding a new soap service problem The error message Error encountered: Unable to resolve target object: javaxml2.CDCatalog means that Apache SOAP found the registered service, but was unable to load the class javaxml2.CDCatalog. The class files for the service must be available to the class loaders servicing the soap webapp. Typically, this means you put the files in webapps/soap/WEB-INF/classes or subdirectories thereof. Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Praveen Peddi" To: Sent: Friday, September 24, 2004 1:16 PM Subject: Re: Adding a new soap service problem > I got the sample from onjava.com. You can find all the related data here: > http://www.onjava.com/pub/a/onjava/excerpt/java_xml_2_ch2/index.html?page=5. > > When I executed command line I got the following output: > "Deployed Services: urn:cd-catalog" > > When I ran soap client to access soap service, I get the following error: > "Error encountered: Unable to resolve target object: javaxml2.CDCatalog". > > Praveen > > ----- Original Message ----- > From: "Scott Nichol" > To: > Sent: Friday, September 24, 2004 12:53 PM > Subject: Re: Adding a new soap service problem > > > You can deploy it through that admin page, using the command line and a > deployment descriptor file (my preference since all the info to re-deploy > the service is there), or by copying the serialized deployment descriptors > file that Apache SOAP creates. This last option is for advanced users > that > want to install the server side stuff from a single war file. > > Scott Nichol > > Do not send e-mail directly to this e-mail address, > because it is filtered to accept only mail from > specific mail lists. > ----- Original Message ----- > From: "Tommy Kalafut" > To: > Sent: Friday, September 24, 2004 12:00 PM > Subject: RE: Adding a new soap service problem > > > > I am still a little confused by deployment. (I am working with a > > subcontracted prototype that uses SOAP.) Do you also have to deploy > > your > > service in the Soap admin page at > > http://localhost:8081/soap/admin/index.html? (Your port number may be > > different.) > > > > > > > > > > > > > > > > Tom Kalafut > > Interchange Crew Member > > Trident Systems, Inc. > > tommyk@tridsys.com > > (703)691-7798 > > > > > > > > ------------------------- > > > > The opinions expressed in this email may not necessarily reflect the > > opinions of Trident Systems, Inc. > > > > _____ > > > > size=2 width="100%" align=center tabindex=-1> > > > > From: Praveen Peddi [mailto:ppeddi@contextmedia.com] > > Sent: Friday, September 24, 2004 11:54 AM > > To: soap-user@ws.apache.org > > Subject: Adding a new soap service problem > > > > > > > > Hi all, > > > > I have 5 soap services running and now I deployed a new service using > > command line tool as follows: > > > > > > > > org.apache.soap.server.ServiceManagerClient > > > > http://host:port/soap/servlet/rpcrouter deploy NewServiceDD.xml > > > > > > > > I get no errors and even I can see the new service in the admin page. > > But > > when I connect to the new service using a soap client, it gives an error > > saying no service with the specified name. > > > > > > > > I am using tomcat as the server. > > > > > > > > I am sure i might be missing one simple thing. Any help would be > > appraciated. > > > > > > > > Praveen > > > > > > > > > > > > ************************************************************** > > Praveen Peddi > > Sr Software Engg, Context Media, Inc. > > email:ppeddi@contextmedia.com > > Tel: 401.854.3475 > > Fax: 401.861.3596 > > web: http://www.contextmedia.com > > ************************************************************** > > Context Media- "The Leader in Enterprise Content Integration" > > > > > >