Return-Path: Delivered-To: apmail-ws-soap-user-archive@www.apache.org Received: (qmail 85713 invoked from network); 13 Oct 2004 22:57:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Oct 2004 22:57:41 -0000 Received: (qmail 4514 invoked by uid 500); 13 Oct 2004 22:57:32 -0000 Delivered-To: apmail-ws-soap-user-archive@ws.apache.org Received: (qmail 4320 invoked by uid 500); 13 Oct 2004 22:57:30 -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 4307 invoked by uid 99); 13 Oct 2004 22:57:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [151.193.220.17] (HELO sgtulmg01.sabre.com) (151.193.220.17) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 13 Oct 2004 15:57:28 -0700 Received: from unknown (HELO sghdqbh01.Global.ad.sabre.com) (10.12.64.16) by sgtulmg01.sabre.com with ESMTP; 13 Oct 2004 17:57:27 -0500 X-BrightmailFiltered: true X-Ironport-AV: i="3.85,140,1094446800"; d="scan'208"; a="244891700:sNHT18225684" Received: from sgtulmsp03.Global.ad.sabre.com ([10.12.64.5]) by sghdqbh01.Global.ad.sabre.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 13 Oct 2004 17:57:42 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Migrating from Apache SOAP to Axis Date: Wed, 13 Oct 2004 17:57:41 -0500 Message-ID: <8A1F9FA924FBDB47A53086AA86BBDDA396B3FC@sgtulmsp03.global.ad.sabre.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Migrating from Apache SOAP to Axis Thread-Index: AcSxYcPgTs4WFcEGR0moN7ofaC/YhQAFcdZA From: "Shukla, Minaxi" To: X-OriginalArrivalTime: 13 Oct 2004 22:57:42.0098 (UTC) FILETIME=[0B89AB20:01C4B178] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Scott, Both captures has response with Fault. The first part is the request message and after that there is response = message. Let me know if you need more info. Thanks -Minaxi -----Original Message----- From: Scott Nichol [mailto:snicholnews@scottnichol.com]=20 Sent: Wednesday, October 13, 2004 3:22 PM To: soap-user@ws.apache.org Subject: Re: Migrating from Apache SOAP to Axis Do you have a capture when the Axis service returns a Fault? 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 -----=20 From: "Shukla, Minaxi" To: Sent: Wednesday, October 13, 2004 12:54 PM Subject: RE: Migrating from Apache SOAP to Axis Yes, I have captured the SOAP messages from both the deployments (with = Apache SOAP and Axis). See the SOAP messages attached. Thanks for your help -Minaxi <> <>=20 -----Original Message----- From: Scott Nichol [mailto:snicholnews@scottnichol.com]=20 Sent: Wednesday, October 13, 2004 11:38 AM To: soap-user@ws.apache.org Subject: Re: Migrating from Apache SOAP to Axis What would help most: capture and post to this list the contents of the = response that is causing the client a problem. Depending on your OS and = tool preference, you can capture with Network Monitor (Windows), tcpdump = (*nix), TcpTunnelGui (Apache SOAP), tcpmon (Axis), tcpTrace/proxyTrace = (for Windows at www.simonfell.com). 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 -----=20 From: "Shukla, Minaxi" To: Sent: Wednesday, October 13, 2004 11:58 AM Subject: Migrating from Apache SOAP to Axis Hi, I want to migrate our web services deployed on Apache SOAP 2.2 to Axis = 1.1 without having to update the client developed with Apache SOAP. It works fine with good scenarios where the service returns a successful = respose. But, when service throws a business exception, the client gets = ClassCastException : java.lang.ClassCastException : = org.apache.xerces.dom.DeferredElementNSImpl I looked into Apache SOAP source code and found that the detailEntry is = not deserialized because of missing encoding style in the response. I = added a line to print the exception in Fault class unmarshall() method = (the catch Exception block): Exception while unmarshalling Fault : = java.lang.IllegalArgumentException: No Deserializer found to deserialize = a 'http://schemas.xmlsoap.org/soap/envelope/:Parameter' using encoding = style 'null'. So, looks like Axis is not returning the encodingStyle in response. I = don't know how to fix that. Attached is the deployment descriptor for the service. Thanks in advance for any help. (I will post this message on Axis user list also, but I saw a message on = this list regarding SOAP to Axis migration, so just want to see if = anyone can help.) -Minaxi <>=20