From kempmelanie@example.net Fri Feb 1 04:07:52 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 92099 invoked from network); 1 Feb 2002 04:07:52 -0000 Received: from relay.sdsc.edu (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 04:07:52 -0000 Received: from ARUN (dhcp-65-106.sdsc.edu [83.161.120.155]) (authenticated (0 bits)) by relay.sdsc.edu (8.11.1/8.11.1/SDSCmx-6) with ESMTP id g11481Z02480 (using TLSv1/SSLv3 with cipher EXP1024-RC4-SHA (56 bits) verified NO); Thu, 31 Jan 2002 20:08:02 -0800 (PST) From: "Arun swaran Jagatheesan" <kempmelanie@example.net> To: <kempmelanie@example.net> Cc: <kempmelanie@example.net> Subject: Solaris - BadTargetObjectURI - Classpath ok - jvm?? Date: Thu, 31 Jan 2002 20:04:50 -0800 Message-ID: <kempmelanie@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi: problem: BadTargetObjectURI on Solaris. (Unable to resolve target object: Hello) I have the classpath ok and i am able to run "java Hello" from any directory. In fact it is the first directory in my tomcat.sh now with mail.jar etc behind it in the order. I been fighting this one for a long time. I have Java 1.2.1 (Solaris_JDK_1.2.1_04c) on the server. I used the Admin Tool (jsp) to register this URN ( IE browser from another windows machine) with provider as an "Application". Can you suggest any resolution? Thanks in Advance, Arun. From kempmelanie@example.net Fri Feb 1 04:09:07 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 93695 invoked from network); 1 Feb 2002 04:09:07 -0000 Received: from unknown (HELO vqindialinux.indiawirelessservice.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 04:09:07 -0000 Received: from prog07 ([83.161.120.155]) by vqindialinux.indiawirelessservice.com (8.9.3/8.9.3) with SMTP id JAA28275 for <kempmelanie@example.net>; Fri, 1 Feb 2002 09:34:46 +0530 Message-ID: <kempmelanie@example.net> From: "mahender reddy G" <kempmelanie@example.net> To: <kempmelanie@example.net> Subject: unsubscribe me Date: Sat, 13 Jan 2001 09:41:52 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express (774)277-4262 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N unsubscribe me From kempmelanie@example.net Fri Feb 1 04:13:27 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 96973 invoked from network); 1 Feb 2002 04:13:27 -0000 Received: from unknown (HELO pcsmail.patni.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 04:13:27 -0000 Received: from pcsspz.patni.com (pcsspz.patni.com [83.161.120.155]) by pcsmail.patni.com (8.9.3/8.9.3) with ESMTP id JAA07130 for <kempmelanie@example.net>; Fri, 1 Feb 2002 09:44:16 +0530 Received: from antivirusgw.patni.com (antivirusgw.patni.com [83.161.120.155]) by pcsspz.patni.com (8.9.3/8.8.8) with SMTP id JAA11611 for <kempmelanie@example.net>; Fri, 1 Feb 2002 09:44:16 +0530 (IST) Received: from arya.patni.com ([83.161.120.155]) by antivirusgw.patni.com (NAVIEG 2.1 bld 66) with SMTP id M2002020109442502576 for <kempmelanie@example.net>; Fri, 01 Feb 2002 09:44:25 +0530 Received: from pcp3316 (firewall1.patni.com [83.161.120.155]) by arya.patni.com (8.9.3/SCO5) with SMTP id JAA04415 for <kempmelanie@example.net>; Fri, 1 Feb 2002 09:44:13 +0530 (IST) Message-ID: <kempmelanie@example.net> From: "Ketan Suri" <kempmelanie@example.net> To: <kempmelanie@example.net> Subject: unsubscribe me Date: Fri, 1 Feb 2002 09:44:45 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express (774)277-4262 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N unsubscribe me Thanks, Ketan From kempmelanie@example.net Fri Feb 1 09:43:02 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 18853 invoked from network); 1 Feb 2002 09:43:02 -0000 Received: from mail01g.rapidsite.net (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 09:43:02 -0000 Received: from www.parallel.ie (83.161.120.155) by mail01g.rapidsite.net (RS ver 1.0.62s) with SMTP id 012173 for <kempmelanie@example.net>; Fri, 1 Feb 2002 04:43:02 -0500 (EST) From: "daragh" <kempmelanie@example.net> To: <kempmelanie@example.net> Subject: unsubscribe me Date: Fri, 1 Feb 2002 09:40:34 -0000 Message-ID: <kempmelanie@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <kempmelanie@example.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Loop-Detect: 1 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N unsubscribe me -----Original Message----- From: Ketan Suri [mailto:kempmelanie@example.net] Sent: 01 February 2002 04:15 To: kempmelanie@example.net Subject: unsubscribe me unsubscribe me Thanks, Ketan From kempmelanie@example.net Fri Feb 1 10:35:40 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 40316 invoked from network); 1 Feb 2002 10:35:40 -0000 Received: from c009-h024.c009.snv.cp.net (HELO c009.snv.cp.net) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 10:35:40 -0000 Received: (cpmta 11546 invoked from network); 1 Feb 2002 02:35:53 -0800 Received: from 83.161.120.155 (HELO ukdb000805) by smtp.123india.com (83.161.120.155) with SMTP; 1 Feb 2002 02:35:53 -0800 X-Sent: 1 Feb 2002 10:35:53 GMT Message-ID: <001401c1ab0c$6b11f220$c540c80a@ukdb000805> Reply-To: "Vinod Soni" <kempmelanie@example.net> From: "Vinod Soni" <kempmelanie@example.net> To: <kempmelanie@example.net> References: <kempmelanie@example.net> Subject: Re: Please unsubscribe me Date: Fri, 1 Feb 2002 10:37:15 -0000 Organization: Personal MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Andre, send a mail to kempmelanie@example.net and confirm it. You will be unsubscribed. Cheers. ----- Original Message ----- From: "Andrew Simpson" <kempmelanie@example.net> To: <kempmelanie@example.net>; "kempmelanie@example.net. Apache. Org" <kempmelanie@example.net> Sent: Thursday, January 31, 2002 3:09 PM Subject: Please unsubscribe me > > I have tried repeatedly to unsubscribe from this list, and received > acknowledgements, but still receive the messages. > > How can I unsubscribe? > > Thanks, > > Andrew > ________________________________________________________________________ > > Andrew Simpson, SpeechWorks International, Inc. > 695 Atlantic Avenue, Boston, MA 02111, U.S.A. > Voice: (774)277-4262, Fax: (774)277-4262 > kempmelanie@example.net http://www.speechworks.com > > From kempmelanie@example.net Fri Feb 1 14:24:04 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 42483 invoked from network); 1 Feb 2002 14:24:04 -0000 Received: from smtp02.aon.com (HELO smtp01.mail-push.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 14:24:04 -0000 Received: (qmail 23333 invoked from network); 1 Feb 2002 14:24:04 -0000 Received: from unknown (HELO usmtacst02.aon.com) (83.161.120.155) by smtp02.aon.com with SMTP; 1 Feb 2002 14:24:04 -0000 Received: by usmtacst02.aon.com(Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) id 86256B53.004F12B7 ; Fri, 1 Feb 2002 08:23:41 -0600 X-Lotus-FromDomain: AONNA From: kempmelanie@example.net To: kempmelanie@example.net Message-ID: <kempmelanie@example.net> Date: Fri, 1 Feb 2002 09:23:51 -0500 Subject: Re: Newbie to soap , please reply asap [Virus Checked] Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N See http://xml.apache.org/soap/docs/guide/serializer.html for information about creating your own type mappings (and possible custom serializers and deserializers) for your own complex types (non-primitives). S- From kempmelanie@example.net Fri Feb 1 14:41:40 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 53440 invoked from network); 1 Feb 2002 14:41:40 -0000 Received: from mars.sogitec.fr (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 14:41:40 -0000 Received: by mars.sogitec.fr; id PAA23373; Fri, 1 Feb 2002 15:53:41 +0100 (CET) Message-Id: <kempmelanie@example.net> From: David DELGRANCHE <kempmelanie@example.net> Reply-To: "kempmelanie@example.net" <kempmelanie@example.net> To: "'kempmelanie@example.net'" <kempmelanie@example.net> Subject: Apache SOAP v2.2 and session Date: Fri, 1 Feb 2002 15:38:19 +0100 Organization: Sogitec Industries X-Mailer: Messagerie Internet de Microsoft/MAPI - 83.161.120.15511 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, I'm just beginning with Apache SOAP. I know that SOAP is working in a disconnected mode, but I would like to know if there is a way to simulate a session using Apache SOAP 2.2. I aim at deploying web services that can regognize the caller by using a userID or something like that. Is there a way to do that? If the process invoked by the web service take a while, how can we maintain the link between it and the caller to ensure it will know when the process ends? Thanks a lot for help David. DELGRANCHE David SOGITEC Industries Division Documentation et Systemes 24 avenue Lavoisier BP 7408 35174 BRUZ cedex Tel: 83.161.120.155.25 Fax: 83.161.120.155.05 email: kempmelanie@example.net From kempmelanie@example.net Fri Feb 1 14:49:11 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 59074 invoked from network); 1 Feb 2002 14:49:11 -0000 Received: from brot.celocom.de (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 14:49:11 -0000 Message-Id: <kempmelanie@example.net> X-Sender: kempmelanie@example.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Fri, 01 Feb 2002 15:49:03 +0100 To: kempmelanie@example.net From: Gunnar Osterode <kempmelanie@example.net> Subject: SOAP-RPC and stateful session EJB Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS perl-11 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm using SOAP-RPC and send multiple requests within on HTTPSession. I've deployed a StatefulSessionBean with the scope "Session". At the client side I use the same Call object for all requests and I guess the HTTPSession is maintained ( the "Set-Cookie" HTTP header field including the JSESSIONID only comes with the first response). Nevertheless for every request a new instance of the SessionBean is created. Any suggestion would be great. Best regards, Gunnar From kempmelanie@example.net Fri Feb 1 16:42:59 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 44255 invoked from network); 1 Feb 2002 16:42:59 -0000 Received: from dfw-smtpout1.email.verio.net (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 16:42:59 -0000 Received: from [83.161.120.155] (helo=dfw-mmp3.email.verio.net) by dfw-smtpout1.email.verio.net with esmtp id 16WgmD-00069B-00; Fri, 01 Feb 2002 16:43:01 +0000 Received: from [83.161.120.155] (helo=ENGINEERING) by dfw-mmp3.email.verio.net with smtp id 16Wgm0-0005Ds-00; Fri, 01 Feb 2002 16:42:48 +0000 Reply-To: <kempmelanie@example.net> From: "Chris Means" <kempmelanie@example.net> To: <kempmelanie@example.net>, <kempmelanie@example.net> Subject: RE: Apache SOAP v2.2 and session Date: Fri, 1 Feb 2002 10:43:00 -0600 Message-ID: <kempmelanie@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <kempmelanie@example.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi David, I'm doing this by first setting my SOAP class as having Application scope, then using a Hashtable to track a session object for each userid. I'm using more than just the userid as the key just incase they run more than one instance of the client app. HTH. -Chris > -----Original Message----- > From: David DELGRANCHE [mailto:kempmelanie@example.net] > Sent: Friday, February 01, 2002 8:38 AM > To: 'kempmelanie@example.net' > Subject: Apache SOAP v2.2 and session > > > Hi all, > > I'm just beginning with Apache SOAP. I know that SOAP is > working in a > disconnected mode, but I would like to know if there is a way to > simulate a > session using Apache SOAP 2.2. > I aim at deploying web services that can regognize the > caller by using a > userID or something like that. Is there a way to do that? > If the process invoked by the web service take a while, how can we > maintain the link between it and the caller to ensure it will > know when the > process ends? > > Thanks a lot for help > > David. > > DELGRANCHE David > SOGITEC Industries > Division Documentation et Systemes > 24 avenue Lavoisier > BP 7408 > 35174 BRUZ cedex > Tel: 83.161.120.155.25 > Fax: 83.161.120.155.05 > email: kempmelanie@example.net > > From kempmelanie@example.net Fri Feb 1 17:33:23 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 80003 invoked from network); 1 Feb 2002 17:33:23 -0000 Received: from patan.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 17:33:23 -0000 Received: from bighome.sfbay.sun.com ([83.161.120.155]) by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id KAA02915 for <kempmelanie@example.net>; Fri, 1 Feb 2002 10:33:21 -0700 (MST) Received: from sun.com ([83.161.120.155]) by bighome.sfbay.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with ESMTP id JAA15450 for <kempmelanie@example.net>; Fri, 1 Feb 2002 09:33:16 -0800 (PST) Message-ID: <kempmelanie@example.net> Date: Fri, 01 Feb 2002 09:32:21 -0800 From: Elaine Chien <kempmelanie@example.net> X-Mailer: Mozilla 4.61 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: kempmelanie@example.net Subject: Re: SOAP-RPC and stateful session EJB References: <kempmelanie@example.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You may be hitting the cookie header bug. The problem is that a case sensitive search of set-cookie header is used. So if the web server you are using does not set the cookie header name as "Set-Cookie", the cookie header won't get picked up. See below for the patch request that Warwick Slade submitted. [Attachment #2 (multipart/alternative)] Patch to perform a case insensitive search on http header. [Attachment #5 (text/html)] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.3315.2870" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Patch to perform a case insensitive search on http header.</FONT></DIV> <DIV>&nbsp;</DIV></BODY></HTML> ["patchfile.txt" (text/plain)] 5c5 < * Copyright (c) 2000 The Apache Software Foundation. All rights --- > * Copyright (c) 2000 The Apache Software Foundation. All rights 13c13 < * notice, this list of conditions and the following disclaimer. --- > * notice, this list of conditions and the following disclaimer. 21c21 < * if any, must include the following acknowledgment: --- > * if any, must include the following acknowledgment: 29c29 < * software without prior written permission. For written --- > * software without prior written permission. For written 266c266 < } --- > } 272c272 < headers.put (Constants.HEADER_SOAP_ACTION, --- > headers.put (Constants.HEADER_SOAP_ACTION, 311,312c311 < // leave the current < // Note: Header is case-insensitive --- > // leave the current 314,315c313,314 < < hdr = getHeaderValue(responseHeaders, "Set-Cookie2"); --- > > hdr = (String) responseHeaders.get ("Set-Cookie2"); 324c323 < hdr = getHeaderValue(responseHeaders, "Set-Cookie"); --- > hdr = (String) responseHeaders.get ("Set-Cookie"); 370,386d368 < < /** < * Obtain a header value from the table using a case in-sensitive search. < * @param headers A colletion of headers from the http response < * @param headerName The name of the header to find < * @return The header value or null if not found < */ < private String getHeaderValue(Hashtable headers, String headerName) < { < for (Enumeration enum = headers.keys(); enum.hasMoreElements();) < { < String key = (String)enum.nextElement(); < if (key.equalsIgnoreCase(headerName)) < return (String)headers.get(key); < } < return null; < } Thanks, Elaine Gunnar Osterode wrote: > I'm using SOAP-RPC and send multiple requests within on HTTPSession. I've > deployed a StatefulSessionBean with the scope "Session". At the client side > I use the same Call object for all requests and I guess the HTTPSession is > maintained ( the "Set-Cookie" HTTP header field including the JSESSIONID > only comes with the first response). Nevertheless for every request a new > instance of the SessionBean is created. > > Any suggestion would be great. > > Best regards, > Gunnar From kempmelanie@example.net Fri Feb 1 18:07:46 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 8720 invoked from network); 1 Feb 2002 18:07:46 -0000 Received: from mail-out1.apple.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 18:07:46 -0000 Received: from mailgate2.apple.com (A17-129-100-225.apple.com [83.161.120.155]) by mail-out1.apple.com (8.11.3/8.11.3) with ESMTP id g11I7kQ29711 for <kempmelanie@example.net>; Fri, 1 Feb 2002 10:07:50 -0800 (PST) Received: from scv3.apple.com (scv3.apple.com) by mailgate2.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id <kempmelanie@example.net> for <kempmelanie@example.net>; Fri, 1 Feb 2002 10:07:45 -0800 Received: from bluewhale (bluewhale.apple.com [83.161.120.155]) by scv3.apple.com (8.11.3/8.11.3) with ESMTP id g11I7j619535 for <kempmelanie@example.net>; Fri, 1 Feb 2002 10:07:45 -0800 (PST) Date: Fri, 1 Feb 2002 10:08:35 -0800 Mime-Version: 1.0 (Apple Message framework v480) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: [Solved] Customized Serializer From: Han Ming Ong <kempmelanie@example.net> To: kempmelanie@example.net Content-Transfer-Encoding: 7bit Message-Id: <kempmelanie@example.net> X-Mailer: Apple Mail (2.480) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I guess my mail was way too long for people to actually read it :) Anyway, based on the input of one kind soul, I explored further and finally hit on something that worked. It might not be the right way but it worked for now and I just want to share with the list, in case someone else is banging his head on the wall: 1. Using a customized Encoding Style URI besides Constants.NS_URI_SOAP_ENC always result in an exception something like "Caught SOAPException (SOAP-ENV:Client): No Serializer found to serialize a 'org.apache.soap.rpc.Parameter' using encoding style 'http://xxx.com/test'. 2. Using Constants.NS_URI_SOAP_ENC works. I made a mistake in my serializer. I forgot the end tag "</PurchaseOrder>". So if I had added sink.write("</" + context + '>'); It worked for me. That's all, Han Ming > From: Han Ming Ong <kempmelanie@example.net> > Date: Sun Jan 27, 2002 03:55:45 PM US/Pacific > To: kempmelanie@example.net > Subject: Customized Serializer > > Hi folks, > > Short: > I know how to use a BeanSerializer or sub class of a BeanSerializer > to serialize a customized class. I usually use > Constants.NS_URI_SOAP_ENC when I insert it into SOAPMappingRegistry. > > But I would like to make use of a generic XML Serializer (e.g. > http://www.csse.monash.edu.au/~bren/JSX/) > What encoding style should I use? > > > > Long: > > This is my customized Java class: > > public class PurchaseOrder { > ... > } > > I would like to make use of a generic Java XML Serializer (e.g > http://www.csse.monash.edu.au/~bren/JSX/) as the Serializer and > Deserializer. > > public class PurchaseOrderSerializer implements Serializer, > Deserializer { > public void marshall(String inScopeEncStyle, Class javaType, Object > src, Object context, Writer sink, NSStack nsStack, > XMLJavaMappingRegistry xjmr, SOAPContext ctx) throws > IllegalArgumentException, IOException { > > nsStack.pushScope(); > > SoapEncUtils.generateStructureHeader(inScopeEncStyle, javaType, > context, sink, nsStack, xjmr); > > // Magically obtain a serialized XML string, for example using JSX > String xml = .... > > sink.write(xml); > > nsStack.popScope(); > } > > public Bean unmarshall(String inScopeEncStyle, QName elementType, > Node src, XMLJavaMappingRegistry xjmr, SOAPContext ctx) throws > IllegalArgumentException { > Element root = (Element) src; > PurchaseOrder target; > > // This is sad. > String xml = DOMWriter.nodeToString(src); > > target = (PurchaseOrder).... // Use JSX to get back object > > return new Bean(PurchaseOrder.class, target); > } > > So on the server end, I created this deployment descriptor > > <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment" > id="urn:myServer"> > <isd:provider type="java" > scope="Application" > methods="SubmitOrder1"> > <isd:java class="xxx.com.Application" static="true"/> > </isd:provider> > > > <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener> > > <isd:mappings> > <isd:map encodingStyle="http://xxx.com/test" > xmlns:x="urn:wo-xml-demo" qname="x:PurchaseOrder" > javaType="xxx.com.PurchaseOrder" > java2XMLClassName="xxx.com.PurchaseOrderSerializer" > > xml2JavaClassName="xxx.com.PurchaseOrderSerializerOrderSerializer"/> > </isd:mappings> > </isd:service> > > > This is how I execute my call from client > > PurchaseOrderSerializer poSer = new PurchaseOrderSerializer(); > SOAPMappingRegistry smr = new SOAPMappingRegistry(); > String myEnc = "http://xxx.com/test"; > // Map the types. > smr.mapTypes(myEnc, new QName("urn:wo-xml-demo", > "PurchaseOrder"), PurchaseOrder.class, poSer, poSer); > > // Build the call. > call.setSOAPMappingRegistry(smr); > call.setTargetObjectURI("urn:myServer"); > call.setMethodName("SubmitOrder1"); > call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC); > params.addElement(new Parameter("CustomerID", > java.lang.String.class, pin, Constants.NS_URI_SOAP_ENC)); > params.addElement(new Parameter("PurchaseOrder", > PurchaseOrder.class, po, myEnc)); > call.setParams(params); > > // Invoke the call. > try { > resp = call.invoke(serviceURL, ""); > } catch (SOAPException e) { > System.out.print("Caught SOAPException (" + > e.getFaultCode() + "): " + e.getMessage()); > } > > > Problems: > > I always get a SOAPException, something like "Caught SOAPException > (SOAP-ENV:Client): No Serializer found to serialize a > 'org.apache.soap.rpc.Parameter' using encoding style > 'http://xxx.com/test'. > (Here, I'm kind of surprised that the class is not xxx.com.PurchaseOrder > > If I used Constants.NS_URI_SOAP_ENC, the exception would be > > Caught SOAPException (SOAP-ENV:Client): Parsing error, response was: > The element type "faultstring" must be terminated by the matching > end-tag "</faultstring>". > > I also tried Constants.NS_URI_LITERAL_XML and Constants.NS_URI_XMI_ENC > but no success. > > Help please? > From kempmelanie@example.net Fri Feb 1 18:37:18 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 34830 invoked from network); 1 Feb 2002 18:37:18 -0000 Received: from rhenium.btinternet.com (HELO rhenium) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 18:37:18 -0000 Received: from host213-122-30-137.dial.btopenworld.com ([83.161.120.155] helo=DELL) by rhenium with smtp (Exim 3.22 #8) id 16WiYk-0005PZ-00 for kempmelanie@example.net; Fri, 01 Feb 2002 18:37:14 +0000 Message-ID: <002e01c1ab50$61541bc0$0300a8c0@DELL> From: "mail.btinternet.com" <kempmelanie@example.net> To: <kempmelanie@example.net> Subject: .net client and java service Date: Fri, 1 Feb 2002 18:43:37 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi I am having a problem getting a SoapHttpClientProtocol .net client to talk to a java server. I can send strings ok to the server but I cannot serialise ints on the client side. It does not seem possible to send a primitive int in the arguments to the Invoke method. Anyone know how to get around this. James Cowan From kempmelanie@example.net Fri Feb 1 20:34:48 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 13912 invoked from network); 1 Feb 2002 20:34:48 -0000 Received: from web13302.mail.yahoo.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 20:34:48 -0000 Message-ID: <kempmelanie@example.net> Received: from [83.161.120.155] by web13302.mail.yahoo.com via HTTP; Fri, 01 Feb 2002 12:34:52 PST Date: Fri, 1 Feb 2002 12:34:52 -0800 (PST) From: Tim Wei <kempmelanie@example.net> Subject: Why setIgnoringElementContentWhitespace method suddenly throw Throwable? To: kempmelanie@example.net In-Reply-To: <kempmelanie@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have a method below. It was running fine before. Why suddenly the following line of code throws me a Throwable with null message? dbf.setIgnoringElementContentWhitespace(true); in the "catch (Throwable t)" block, it prints: Throwable caught in toXML(): null public static Document toXML() { Document doc = null; try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setIgnoringComments(true); dbf.setValidating(false); dbf.setIgnoringElementContentWhitespace(true); dbf.setCoalescing(true); dbf.setExpandEntityReferences(true); DocumentBuilder docBuilder = null; try { docBuilder = dbf.newDocumentBuilder(); } catch (ParserConfigurationException pe) { System.out.println("ParserConfigurationException caught in toXML(): " + pe.getMessage()); } docBuilder.setErrorHandler(new DefaultHandler()); doc = docBuilder.parse(new File(EVENT_TEMPLATE_XML_FILE)); // normalize text representation doc.getDocumentElement().normalize(); } catch (SAXParseException err) { System.out.println("SAXParseException caught in toXML(): " + err.getMessage()); } catch (SAXException e) { System.out.println("SAXException caught in toXML(): " + e.getMessage()); } catch (Exception ne) { System.out.println("Exception caught in toXML(): " + ne.getMessage()); } catch (Throwable t) { System.out.println("Throwable caught in toXML(): " + t.getMessage()); } return doc; }// end toXML() ===== Tim's home page: http://www.geocities.com/timwei __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com From kempmelanie@example.net Fri Feb 1 21:17:22 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 42207 invoked from network); 1 Feb 2002 21:17:22 -0000 Received: from nimbus.nj.caldera.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 21:17:22 -0000 Received: (from jls@localhost) by nimbus.nj.caldera.com (8.10.1/UW7.1.1-NSCd) id g11LHOI23008; Fri, 1 Feb 2002 16:17:24 -0500 (EST) Message-Id: <kempmelanie@example.net> From: kempmelanie@example.net (Jonathan Schilling) To: kempmelanie@example.net Date: Fri, 1 Feb 2002 16:08 EST Subject: SOAP messaging - java.lang.NoClassDefFoundError: org/apache/soap/Envelope Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Using Apache SOAP 2.2 together with Tomcat 3.2.3, I have SOAP RPC working consistency, with both clients and services. However, trying to get SOAP messaging working is giving me fits. I'm using the samples/messaging example from the distribution. I put the client where my RPC clients go, I put the service and DD where my RPC services go, so I know the classpaths are ok. I deploy the service ok. Occasionally it works, but then as soon as I try minor modifications and recompile, I get the attached. It can't really be telling me that it can't find the org/apache/soap/Envelope class, can it? I know that's there, both by javap checks and that RPC works. Is it really the POProcessor class (the service class in the demo) that it can't find? Or it found the class, but can't find a certain method it's looking for? Any enlightenment will be appreciated. Jonathan Schilling Caldera International, Inc. $ java samples.messaging.SendMessage http://localhost:8080/soap/servlet/> RESPONSE: -------- <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>SOAP-ENV:Server</faultcode> <faultstring>Exception while handling service request: org/apache/soap/Envelope</faultstring> <faultactor>/soap/servlet/messagerouter</faultactor> <detail> <stackTrace>java.lang.NoClassDefFoundError: kempmelanie@example.net(Native Method) at java.lang.Class.getMethod(Class.java:888) at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:114) at org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at org.apache.soap.server.MessageRouter.invoke(MessageRouter.java:54) at org.apache.soap.providers.MsgJavaProvider.invoke(MsgJavaProvider.java:125) at org.apache.soap.server.http.MessageRouterServlet.doPost(MessageRouterServlet.java:268) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484) </stackTrace> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> From kempmelanie@example.net Fri Feb 1 21:55:36 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 89892 invoked from network); 1 Feb 2002 21:55:36 -0000 Received: from relay.sdsc.edu (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 21:55:36 -0000 Received: from ARUN (dhcp-65-106.sdsc.edu [83.161.120.155]) (authenticated (0 bits)) by relay.sdsc.edu (8.11.1/8.11.1/SDSCmx-6) with ESMTP id g11LtfZ05407 (using TLSv1/SSLv3 with cipher EXP1024-RC4-SHA (56 bits) verified NO) for <kempmelanie@example.net>; Fri, 1 Feb 2002 13:55:42 -0800 (PST) From: "Arun swaran Jagatheesan" <kempmelanie@example.net> To: <kempmelanie@example.net> Subject: RE: [solved] Solaris - BadTargetObjectURI - Classpath ok - jvm?? Date: Fri, 1 Feb 2002 13:52:31 -0800 Message-ID: <kempmelanie@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <kempmelanie@example.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi: Thanks for some kind soul that replied. - Just incase some one faces the same problem in future... It was just another "public" and "default" package problem. I had not declared my class as "public". I guess tomcat could not create an instance of the target Object(?). It just required a sound sleep to figure this one out ;-) Arun. > -----Original Message----- > From: Arun swaran Jagatheesan [mailto:kempmelanie@example.net] > Sent: Thursday, January 31, 2002 8:05 PM > To: kempmelanie@example.net > Cc: kempmelanie@example.net > Subject: Solaris - BadTargetObjectURI - Classpath ok - jvm?? > > > Hi: > > problem: BadTargetObjectURI on Solaris. (Unable to resolve target object: > Hello) > > I have the classpath ok and i am able to run "java Hello" from any > directory. In fact it is the first directory in my tomcat.sh now with > mail.jar etc behind it in the order. I been fighting this one for a long > time. > > I have Java 1.2.1 (Solaris_JDK_1.2.1_04c) on the server. I used the Admin > Tool (jsp) to register this URN ( IE browser from another windows machine) > with provider as an "Application". Can you suggest any resolution? > > Thanks in Advance, > Arun. > From kempmelanie@example.net Fri Feb 1 22:07:42 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 99258 invoked from network); 1 Feb 2002 22:07:42 -0000 Received: from unknown (HELO mailserver.informitec.de) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 22:07:42 -0000 Received: from ([83.161.120.155]) by mailserver.informitec.de (MERAK 3.00.130) with ESMTP id 9BDBCEB3 for <kempmelanie@example.net>; Fri, 01 Feb 2002 23:13:02 +0100 Message-ID: <001e01c1ab6d$f89e8d90$0100a8c0@pentium2> Reply-To: "Tobias Dyrks" <kempmelanie@example.net> From: "Tobias Dyrks" <kempmelanie@example.net> To: <kempmelanie@example.net> Subject: unsubscribe me Date: Fri, 1 Feb 2002 23:15:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N unsubscribe me From kempmelanie@example.net Fri Feb 1 22:52:05 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 73850 invoked from network); 1 Feb 2002 22:52:05 -0000 Received: from mailout06.sul.t-online.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 22:52:05 -0000 Received: from fwd08.sul.t-online.de by mailout06.sul.t-online.com with smtp id 16WmXT-0000ja-09; Fri, 01 Feb 2002 23:52:11 +0100 Received: from p3x2nt (310017912650-0001@[83.161.120.155]) by fwd08.sul.t-online.com with smtp id 16WmXJ-0Xydg8C; Fri, 1 Feb 2002 23:52:01 +0100 Message-ID: <000901c1ab73$11380fc0$0201a8c0@p3x2nt> From: kempmelanie@example.net (Oliver Kowalke) To: <kempmelanie@example.net> Subject: Problem with namespace before arguments or Bug in Toolkit? Date: Fri, 1 Feb 2002 23:52:03 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Sender: kempmelanie@example.net X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I've a little .NET server which adds doubles. The client which uses Apache SOAP 2.2 call the service with two arguments (doubles). The envelop form Apache SOAP looks like this: <?xml version="1.0" encoding="UTF-8" ?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <ns1:addNumbers xmlns:ns1="http://tempuri.org/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <dbl1 xsi:type="xsd:double">1.2</dbl1> <dbl2 xsi:type="xsd:double">2.3</dbl2> </ns1:addNumbers> </SOAP-ENV:Body> </SOAP-ENV:Envelope> But .NET doesn't recognize the arguments dbl1 and dbl2. If I change the code a little bit (declaring Parameter) with adding the ns1 the .Net server can read the arguments. <?xml version="1.0" encoding="UTF-8" ?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <ns1:addNumbers xmlns:ns1="http://tempuri.org/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <ns1:dbl1 xsi:type="xsd:double">1.4</ns1:dbl1> <ns1:dbl2 xsi:type="xsd:double">3.6</ns1:dbl2> </ns1:addNumbers> </SOAP-ENV:Body> </SOAP-ENV:Envelope> the Apache SOAP Code looks like this: package addnumbersclient; import java.io.*; import java.util.*; import java.net.*; import org.w3c.dom.*; import org.apache.soap.util.xml.*; import org.apache.soap.*; import org.apache.soap.encoding.*; import org.apache.soap.encoding.soapenc.*; import org.apache.soap.rpc.*; import org.apache.soap.transport.http.SOAPHTTPConnection; public class AddDoubles { public static void main( String[] args) { System.out.println("calling .NET Service"); URL url = null; try { url = new URL("http://localhost:8080/AddNumbersServer/AddNumbersServer.asmx"); } catch (Exception e) { System.out.println(e); } SOAPMappingRegistry smr = new SOAPMappingRegistry(); StringDeserializer sd = new StringDeserializer(); smr.mapTypes( Constants.NS_URI_SOAP_ENC, new QName("", "Result"), null, null, sd); // create the transport and set parameters SOAPHTTPConnection st = new SOAPHTTPConnection(); // build the call. Call call = new Call(); call.setSOAPTransport( st); call.setSOAPMappingRegistry( smr); call.setTargetObjectURI ("http://tempuri.org/"); call.setMethodName("addNumbers"); call.setEncodingStyleURI ( Constants.NS_URI_SOAP_ENC); Vector params = new Vector(); params.addElement( new Parameter("ns1:dbl1", Double.class, "1.4", null) ); <-- here I'm adding 'ns1' to the Parameter name params.addElement( new Parameter("ns1:dbl2", Double.class, "3.6", null) ); <-- here I'm adding 'ns1' to the Parameter name call.setParams( params); Response resp = null; try { resp = call.invoke( url, "http://tempuri.org/addNumbers"); } catch ( SOAPException e) { System.err.println("Caught SOAPException (" + e.getFaultCode () + "): " + e.getMessage() ); return; } if ( resp == null) { System.out.println("Response was null"); } // check response if ( resp != null && !resp.generatedFault() ) { Parameter ret = resp.getReturnValue(); Object value = ret.getValue(); System.out.println(".NET Service Response : " + value); } else { Fault fault = resp.getFault(); System.err.println("Generated fault: "); System.out.println(" Fault Code = " + fault.getFaultCode() ); System.out.println(" Fault String = " + fault.getFaultString() ); } } } What is wrong? I shouldn't specify the namespace 'ns1' because the Toolkit should do that! Maybe there is an mistake in the code? with best regards, Oliver From kempmelanie@example.net Fri Feb 1 23:37:45 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 47133 invoked from network); 1 Feb 2002 23:37:45 -0000 Received: from adsl-(774)277-4262.dsl.sntc01.pacbell.net (HELO mease.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Feb 2002 23:37:45 -0000 Received: from ultramease (adsl-(774)277-4262.dsl.sntc01.pacbell.net [83.161.120.155]) by mease.com (8.11.0/8.11.0) with SMTP id g120qXV11089 for <kempmelanie@example.net>; Fri, 1 Feb 2002 16:52:33 -0800 From: "dlmease" <kempmelanie@example.net> To: <kempmelanie@example.net> Subject: unsubscribe me Date: Fri, 1 Feb 2002 15:30:09 -0800 Message-ID: <kempmelanie@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N unsubscribe me From kempmelanie@example.net Sat Feb 2 15:29:09 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 16516 invoked from network); 2 Feb 2002 15:29:09 -0000 Received: from mailout01.sul.t-online.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Feb 2002 15:29:09 -0000 Received: from fwd00.sul.t-online.de by mailout01.sul.t-online.com with smtp id 16X26I-00024t-00; Sat, 02 Feb 2002 16:29:10 +0100 Received: from p3x2nt (310017912650-0001@[83.161.120.155]) by fwd00.sul.t-online.com with smtp id 16X263-1KBQFkC; Sat, 2 Feb 2002 16:28:55 +0100 Message-ID: <001d01c1abfe$5c92c510$0201a8c0@p3x2nt> From: kempmelanie@example.net (Oliver Kowalke) To: <kempmelanie@example.net> Subject: parameters not namespace-quallified ??? Date: Sat, 2 Feb 2002 16:29:10 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Sender: kempmelanie@example.net X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I've also an problem with propagating parameters from Apache SOAP client to .NET service (service doesn't get the two values). In my client code I register the method (addNumbers) and its parameters(dbl1 and dbl2: call.setTargetObjectURI("http://tempuri.org/"); call.setMethodName("addNumbers"); call.setEncodingStyleURI( Constants.NS_URI_SOAP_ENC); Vector params = new Vector(); params.addElement( new Parameter("dbl1", Double.class, "1.4", Constants.NS_URI_SOAP_ENC) ); params.addElement( new Parameter("dbl2", Double.class, "3.6", Constants.NS_URI_SOAP_ENC) ); call.setParams( params); the envelop send to the .Net service looks like this: <?xml version="1.0" encoding="UTF-8" ?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <ns1:addNumbers xmlns:ns1="http://tempuri.org/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <dbl1 xsi:type="xsd:double">1.4</dbl1> <dbl2 xsi:type="xsd:double">3.6</dbl2> </ns1:addNumbers> </SOAP-ENV:Body> </SOAP-ENV:Envelope> I could figure out that dbl1 and dbl2 schould be quallified by namespace 'ns1'. If I change the client code to: Vector params = new Vector(); params.addElement( new Parameter("ns1:dbl1", Double.class, "1.4", Constants.NS_URI_SOAP_ENC) ); params.addElement( new Parameter("ns1:dbl2", Double.class, "3.6", Constants.NS_URI_SOAP_ENC) ); call.setParams( params); the .Net server gets the parameters. But this is a hack. The Apache SOAP toolkit should set the namespace for the method and for its parameters. I think ;^) Maybe you have an solution? so long, Oliver From kempmelanie@example.net Sat Feb 2 18:16:47 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 88177 invoked from network); 2 Feb 2002 18:16:47 -0000 Received: from web11202.mail.yahoo.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Feb 2002 18:16:47 -0000 Message-ID: <kempmelanie@example.net> Received: from [83.161.120.155] by web11202.mail.yahoo.com via HTTP; Sat, 02 Feb 2002 10:16:51 PST Date: Sat, 2 Feb 2002 10:16:51 -0800 (PST) From: ravi varma <kempmelanie@example.net> Subject: unsubsribe me To: kempmelanie@example.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N please unsubscribe me... thanx... __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com From kempmelanie@example.net Sat Feb 2 20:32:07 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 39081 invoked from network); 2 Feb 2002 20:32:07 -0000 Received: from web13407.mail.yahoo.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Feb 2002 20:32:07 -0000 Message-ID: <kempmelanie@example.net> Received: from [83.161.120.155] by web13407.mail.yahoo.com via HTTP; Sat, 02 Feb 2002 12:32:12 PST Date: Sat, 2 Feb 2002 12:32:12 -0800 (PST) From: chidananda sulur <kempmelanie@example.net> Subject: Re: unsubscribe me To: kempmelanie@example.net In-Reply-To: <001e01c1ab6d$f89e8d90$0100a8c0@pentium2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Please unsubscribe me __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com From kempmelanie@example.net Sat Feb 2 20:36:27 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 41412 invoked from network); 2 Feb 2002 20:36:27 -0000 Received: from unknown (HELO mail.outlook.net) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Feb 2002 20:36:27 -0000 Received: (qmail 9515 invoked by uid 1129); 2 Feb 2002 20:42:36 -0000 Received: from localhost (kempmelanie@example.net) by localhost with SMTP; 2 Feb 2002 20:42:36 -0000 Date: Sat, 2 Feb 2002 14:42:36 -0600 (CST) From: Igor Fedulov <kempmelanie@example.net> To: <kempmelanie@example.net> Subject: Re: unsubscribe me In-Reply-To: <kempmelanie@example.net> Message-ID: <kempmelanie@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Guys please open up your messages and read mail headers! It sez right there that in order to unsubscribe send mail to kempmelanie@example.net not to kempmelanie@example.net: list-unsubscribe: <mailto:kempmelanie@example.net> Thank you. > Please unsubscribe me > > __________________________________________________ > Do You Yahoo!? > Great stuff seeking new owners in Yahoo! Auctions! > http://auctions.yahoo.com > -- Best regards, -- HTTP is a stateless protocol, and the Internet is a stateless development environment -- Igor Fedulov E-mail : kempmelanie@example.net Work Ph: (774)277-4262 Home Ph: (774)277-4262 Cell Ph: (774)277-4262 From kempmelanie@example.net Mon Feb 4 04:14:38 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 11104 invoked from network); 4 Feb 2002 04:14:38 -0000 Received: from unknown (HELO localhost.localdomain) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Feb 2002 04:14:38 -0000 Received: from dion (bastion.codejawa.com [83.161.120.155] (may be forged)) by localhost.localdomain (8.11.2/8.11.2) with ESMTP id g144CUj07896 for <kempmelanie@example.net>; Mon, 4 Feb 2002 11:12:42 +0700 Date: Mon, 4 Feb 2002 11:15:24 +0700 From: kempmelanie@example.net X-Mailer: The Bat! (v1.53d) Reply-To: kempmelanie@example.net X-Priority: 3 (Normal) Message-ID: <kempmelanie@example.net> To: kempmelanie@example.net Subject: Error opening socket when running multi-threaded SOAP client In-Reply-To: <003001c1aa5e$fab22070$6c00000a@DESPINA> References: <kempmelanie@example.net> <003001c1aa5e$fab22070$6c00000a@DESPINA> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello All, I've been able to run SOAP samples (addressbook etc), the server & client side run fine. Now I'd like to load-test the SOAP server of accepting multiple SOAP request, for this test, I modify the apache soap's sample of addressbook, i.e. AddressBook.java. I make this class implements Runnable, then make some thread inside of it. then as usual I run it by using: java samples.addressbook.GetAddressThread http://localhost:8080/soap/servlet/rpcrouter "John B. Good" my result: for 1-20 thread, the results are okay. no error is generated. for > 21 thread, I got this multiple error messages: <preceded with some other 123 Main Street....> 123 Main Street Anytown, NY 12345 (123) 456-7890 Caught SOAPException (SOAP-ENV:Client): Error opening socket: Connection refused : connect Caught SOAPException (SOAP-ENV:Client): Error opening socket: Connection refused : connect Caught SOAPException (SOAP-ENV:Client): Error opening socket: Connection refused : connect Caught SOAPException (SOAP-ENV:Client): Error opening socket: Connection refused : connect 123 Main Street Anytown, NY 12345 <continued with another 123....> At first, I suspected the "error opening socket" message is related with the Tomcat (I use Tomcat 3.2.1), but i guess it's not, because when I call a servlet (that the doProcess() takes processing about 6-7 seconds) from similar multi-threaded java classes, even for 50+ threaded, no error messages are generated. What might be the problem? Please help me point out the solution. I'm using Tomcat 3.2.1, Apache Soap 2.2, jdk 1.3.1, Windows 2000, and SoapServer & SoapClient resides locally. Thank you very much in advance. -- Best regards, dion mailto:kempmelanie@example.net From kempmelanie@example.net Mon Feb 4 13:07:06 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 14960 invoked from network); 4 Feb 2002 13:07:06 -0000 Received: from prv-mail25.provo.novell.com (83.161.120.155) by daedalus.apache.org with SMTP; 4 Feb 2002 13:07:06 -0000 Received: from INET-PRV1-MTA by prv-mail25.provo.novell.com with Novell_GroupWise; Mon, 04 Feb 2002 06:07:04 -0700 Message-Id: <kempmelanie@example.net> X-Mailer: Novell GroupWise Internet Agent 6.0.1 Date: Mon, 04 Feb 2002 06:06:54 -0700 From: "Chandrashekhar B" <kempmelanie@example.net> To: <kempmelanie@example.net> Subject: To obtain session details Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi All, Is there a way for an application method or methods that have registered into the SOAP server to know the session details, like if the request has come over SSL or not, what is the authentication scheme used by the web server, the domain from where the request came from etc., In general, is there a way the SOAP server/servlet can pass some information to its registered methods, Thanks in advance, Chandru. From kempmelanie@example.net Mon Feb 4 13:28:41 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 29732 invoked from network); 4 Feb 2002 13:28:41 -0000 Received: from f8.law4.hotmail.com (HELO hotmail.com) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Feb 2002 13:28:41 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 4 Feb 2002 05:28:42 -0800 Received: from 83.161.120.155 by lw4fd.law4.hotmail.msn.com with HTTP; Mon, 04 Feb 2002 13:28:42 GMT X-Originating-IP: [83.161.120.155] From: "Jam (Xiaofeng)" <kempmelanie@example.net> To: kempmelanie@example.net Bcc: Subject: Service file location (Tomcat 4) Date: Mon, 04 Feb 2002 13:28:42 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: <kempmelanie@example.net> X-OriginalArrivalTime: 04 Feb 2002 13:28:42.0854 (UTC) FILETIME=[DD4FF060:01C1AD7F] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I have read previous postings on Tomcat4 and soap2.2 configurations, but i am still unable to solve my problem. I got a SOAP fault: BadTargetObjectURI whenever I try to access my service files. I know that this is due to where I should place my service classes. In Tomcat 3.2.3, I just have to place "." in my classpath where i contain my class files as well as where i started tomcat.Everything worked well for Tomcat 3.2.3. Everything compiled well for Tomcat4 except that runtime error. Anybody who can help me with this problem? My system: Tomcat 4.0 Soap 2.2 Win XP JDK1.3v02 PS: I know that Tomcat4 uses a different class loading whatever... and I am not making a Web application, I am just developing a separate JAVA application to access the service class files. Regarding placing SOAP.war thing, I am not really sure how to get that working also. And that is for developing a web application, issit? Thank you! Jamie _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. From kempmelanie@example.net Mon Feb 4 15:30:57 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 7315 invoked from network); 4 Feb 2002 15:30:57 -0000 Received: from smtp02.aon.com (HELO smtp01.mail-push.com) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Feb 2002 15:30:57 -0000 Received: (qmail 9444 invoked from network); 4 Feb 2002 15:30:59 -0000 Received: from unknown (HELO usmtacst02.aon.com) (83.161.120.155) by smtp02.aon.com with SMTP; 4 Feb 2002 15:30:59 -0000 Received: by usmtacst02.aon.com(Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) id 86256B56.00553258 ; Mon, 4 Feb 2002 09:30:34 -0600 X-Lotus-FromDomain: AONNA From: kempmelanie@example.net To: kempmelanie@example.net Message-ID: <kempmelanie@example.net> Date: Mon, 4 Feb 2002 10:30:48 -0500 Subject: Re: To obtain session details [Virus Checked] Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N According to this document (http://xml.apache.org/soap/faq/faq_chawke.html) which is linked from the Apache-SOAP FAQ page (see section 2.38) if you add a SOAPContext as the first parameter of your RPC function, the server will populate it with a current SOAPContext. You can use this to get HttpSession, HttpRequest/Response handles which you can use as usual to get any information that a normal servlet would have. S- "Chandrashekhar B" <kempmelanie@example.net> on 02/04/2002 08:06:54 AM Please respond to kempmelanie@example.net To: kempmelanie@example.net cc: (bcc: Steve Salkin/3rd/US/AON) Subject: To obtain session details [Virus Checked] Hi All, Is there a way for an application method or methods that have registered into the SOAP server to know the session details, like if the request has come over SSL or not, what is the authentication scheme used by the web server, the domain from where the request came from etc., In general, is there a way the SOAP server/servlet can pass some information to its registered methods, Thanks in advance, Chandru. From kempmelanie@example.net Mon Feb 4 16:53:57 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 80706 invoked from network); 4 Feb 2002 16:53:57 -0000 Received: from smtp-relay.wholefoods.com (83.161.120.155) by daedalus.apache.org with SMTP; 4 Feb 2002 16:53:57 -0000 Received: from wfm-scan. (wfm-scan.wholefoods.com [83.161.120.155]) by smtp-relay.wholefoods.com (8.11.5/8.11.5) with SMTP id g14GqiI18250 for <kempmelanie@example.net>; Mon, 4 Feb 2002 10:52:44 -0600 (CST) Received: from wholefoods.com ([83.161.120.155]) by wfm-scan. (NAVGW 83.161.120.155) with SMTP id M2002020410511421167 for <kempmelanie@example.net>; Mon, 04 Feb 2002 10:51:14 -0600 Message-ID: <kempmelanie@example.net> Date: Mon, 04 Feb 2002 10:51:25 -0600 From: steve sanden <kempmelanie@example.net> X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "kempmelanie@example.net" <kempmelanie@example.net> Subject: Server Exception: loader constraints violated Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello all - Wondering if anyone has come accross this problem. We have a service receiving an xml document as an string argument (our provider can't pass it as an element :( ) We then write it (the xml string) to disk into a file then read the file in as a DOM Document, parse it and load the relevant info into a database. Sounds pretty straight forward. Whenever we test this i get the following server fault message: Generated fault: Fault Code = SOAP-ENV:Server Fault String = Exception from service object: loader constraints violated when linking org/w3c/dom/Document class We're running: Tomcat 4.0.1 JDK 1.3.1_01 Soap-2_2 The Classpath on the server (windows 2000) is set correctly with xerces.jar at the beginning followed by soap.jar with all the other relavant jar files in tow. Hoping someone may have run accross this before Thanks Steve :) From kempmelanie@example.net Mon Feb 4 17:01:15 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 86922 invoked from network); 4 Feb 2002 17:01:15 -0000 Received: from mailhost.oclc.org (HELO mshieldserver1) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Feb 2002 17:01:15 -0000 Received: FROM oa1-server.oa.oclc.org BY mshieldserver1 ; Mon Feb 04 12:01:02 2002 -0500 Received: by oa1-server.oa.oclc.org with Internet Mail Service (5.5.2653.19) id <DSQY880L>; Mon, 4 Feb 2002 12:01:01 -0500 Message-ID: <kempmelanie@example.net> From: "LeVan,Ralph" <kempmelanie@example.net> To: "'kempmelanie@example.net'" <kempmelanie@example.net> Subject: RE: Server Exception: loader constraints violated Date: Mon, 4 Feb 2002 12:00:57 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I did a search of "loader constraints violated" on google and got lots of pointers. It looks like you might have an old xalan or xerces jar. Ralph > -----Original Message----- > From: steve sanden [mailto:kempmelanie@example.net] > Sent: Monday, February 04, 2002 11:51 AM > To: kempmelanie@example.net > Subject: Server Exception: loader constraints violated > > > Hello all - > Wondering if anyone has come accross this problem. > > We have a service receiving an xml document as an string argument (our > provider can't pass it as an element :( ) > We then write it (the xml string) to disk into a file then > read the file > in as a DOM Document, parse it and load the relevant info into a > database. > Sounds pretty straight forward. > > Whenever we test this i get the following server fault message: > > Generated fault: > Fault Code = SOAP-ENV:Server > Fault String = Exception from service object: loader constraints > violated when linking org/w3c/dom/Document class > > We're running: Tomcat 4.0.1 > JDK 1.3.1_01 > Soap-2_2 > > The Classpath on the server (windows 2000) is set correctly with > xerces.jar at the beginning followed by soap.jar with all the other > relavant jar files in tow. > > Hoping someone may have run accross this before > > Thanks > Steve :) > From kempmelanie@example.net Mon Feb 4 17:01:18 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 87134 invoked from network); 4 Feb 2002 17:01:18 -0000 Received: from ns2.deuroconsult.ro (HELO marte.Deuroconsult.ro) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Feb 2002 17:01:18 -0000 Received: from delsyne.ro ([83.161.120.155]) by marte.Deuroconsult.ro (8.11.4/8.11.4) with ESMTP id g14H1Fl27371 for <kempmelanie@example.net>; Mon, 4 Feb 2002 19:01:16 +0200 Received: from dovle.delsyne.ro (dovle.delsyne.ro [83.161.120.155]) by delsyne.ro (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with SMTP id g14H1AZ20697 for <kempmelanie@example.net>; Mon, 4 Feb 2002 19:01:10 +0200 Content-Type: text/plain; charset="iso-8859-1" From: dovle <kempmelanie@example.net> To: kempmelanie@example.net Subject: Re: Server Exception: loader constraints violated Date: Mon, 4 Feb 2002 19:01:10 +0200 X-Mailer: KMail [version 1.2] References: <kempmelanie@example.net> In-Reply-To: <kempmelanie@example.net> MIME-Version: 1.0 Message-Id: <kempmelanie@example.net> Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I am shure is not related to your exception but I was wondering why should you write the data to disk ? I think you can parse it without saving it on disk. It might improve your speed. (I am not shure...) :o) dovle > Hello all - > Wondering if anyone has come accross this problem. > > We have a service receiving an xml document as an string argument (our > provider can't pass it as an element :( ) > We then write it (the xml string) to disk into a file then read the file > in as a DOM Document, parse it and load the relevant info into a > database. > Sounds pretty straight forward. > > Whenever we test this i get the following server fault message: > > Generated fault: > Fault Code = SOAP-ENV:Server > Fault String = Exception from service object: loader constraints > violated when linking org/w3c/dom/Document class > > We're running: Tomcat 4.0.1 > JDK 1.3.1_01 > Soap-2_2 > > The Classpath on the server (windows 2000) is set correctly with > xerces.jar at the beginning followed by soap.jar with all the other > relavant jar files in tow. > > Hoping someone may have run accross this before > > Thanks > Steve :) From kempmelanie@example.net Mon Feb 4 17:39:03 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 8336 invoked from network); 4 Feb 2002 17:39:03 -0000 Received: from silk.rtr.com (83.161.120.155) by daedalus.apache.org with SMTP; 4 Feb 2002 17:39:03 -0000 Received: from silk.rtr.com (IDENT:kempmelanie@example.net [83.161.120.155]) by silk.rtr.com (8.11.3/8.11.3) with ESMTP id g14Hd3B32438 for <kempmelanie@example.net>; Mon, 4 Feb 2002 12:39:03 -0500 Received: from gateau (gateau [83.161.120.155]) by silk.rtr.com (8.11.3/8.11.3) with SMTP id g14Hd3h32431 for <kempmelanie@example.net>; Mon, 4 Feb 2002 12:39:03 -0500 From: "Gary Feldman" <kempmelanie@example.net> To: <kempmelanie@example.net> Subject: RE: unsubscribe me Date: Mon, 4 Feb 2002 12:40:33 -0500 Message-ID: <kempmelanie@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 In-Reply-To: <kempmelanie@example.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N In fairness to the people posting the unsubscribe messages, let me note that basic distinction between mail headers and mail bodies is that the former are intended for processing by POP3 clients and SMTP servers (and developers and spam fighters, but not ordinary folks), while the latter are intended for processing by humans. Putting subscription/unsubscription information into headers is a particularly user-unfriendly way of distributing such information. I'll also gripe that with subject/body based subscription mechanisms long established by the more common mail systems (majordomo and LISTSERV), adding yet another mechanism (mail addresses) seems like a gratuitous and confusing change. This is no doubt too difficult to change, but adding a standard trailer containing help and subscription information to each outgoing message seems like a perfectly reasonable request. Gary ==================================================================== Ready-to-Run Software, Inc. The Industry's Leading Provider of Cross-Platform and Porting Services ***************************** email: kempmelanie@example.net Gary Feldman fax : (774)277-4262 Ready-to-Run Software, Inc. voice: (774)277-4262 11 School Street www : http://www.rtr.com North Chelmsford, MA 01863 USA > From kempmelanie@example.net Tue Feb 5 07:42:54 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 90392 invoked from network); 5 Feb 2002 07:42:54 -0000 Received: from pele.ilab.sztaki.hu (83.161.120.155) by daedalus.apache.org with SMTP; 5 Feb 2002 07:42:54 -0000 Received: from dodo (dodo.ilab.sztaki.hu [83.161.120.155]) by pele.ilab.sztaki.hu (8.10.1/8.10.1) with SMTP id g157bGp15846 for <kempmelanie@example.net>; Tue, 5 Feb 2002 08:37:17 +0100 (MET) Message-ID: <kempmelanie@example.net> From: "Aczel Csilla" <kempmelanie@example.net> To: <kempmelanie@example.net> References: <kempmelanie@example.net> Subject: Re: Service file location (Tomcat 4) Date: Tue, 5 Feb 2002 08:43:00 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I think, you should create a jar file that contains your service classes and you should place it into TomCat/lib directory. I hope it helps you, Csilla From kempmelanie@example.net Tue Feb 5 08:31:29 2002 Return-Path: <kempmelanie@example.net> Mailing-List: contact kempmelanie@example.net; run by ezmlm Delivered-To: mailing list kempmelanie@example.net Received: (qmail 10634 invoked from network); 5 Feb 2002 08:31:29 -0000 Received: from web20409.mail.yahoo.com (83.161.120.155) by daedalus.apache.org with SMTP; 5 Feb 2002 08:31:29 -0000 Message-ID: <kempmelanie@example.net> Received: from [83.161.120.155] by web20409.mail.yahoo.com via HTTP; Tue, 05 Feb 2002 00:31:41 PST Date: Tue, 5 Feb
{'source': 'Apache Software Foundation Public Mail Archives'}