Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 8976 invoked from network); 6 Jun 2008 18:32:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2008 18:32:10 -0000 Received: (qmail 74379 invoked by uid 500); 6 Jun 2008 18:32:09 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 73559 invoked by uid 500); 6 Jun 2008 18:32:05 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 73548 invoked by uid 99); 6 Jun 2008 18:32:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2008 11:32:05 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vinguye2@cisco.com designates 171.71.176.72 as permitted sender) Received: from [171.71.176.72] (HELO sj-iport-3.cisco.com) (171.71.176.72) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2008 18:31:13 +0000 X-IronPort-AV: E=Sophos;i="4.27,601,1204531200"; d="cgi'?zip'48?scan'48,48,208";a="76881484" Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-3.cisco.com with ESMTP; 06 Jun 2008 11:31:30 -0700 Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id m56IVURH007626 for ; Fri, 6 Jun 2008 11:31:30 -0700 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-2.cisco.com (8.13.8/8.13.8) with ESMTP id m56IVUNi005676 for ; Fri, 6 Jun 2008 18:31:30 GMT Received: from xmb-sjc-22c.amer.cisco.com ([128.107.191.47]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 6 Jun 2008 11:31:29 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C8C803.8998CE37" Subject: RE: How to dump SOAP message contents? Date: Fri, 6 Jun 2008 11:31:29 -0700 Message-ID: In-Reply-To: <484975A7.3050702@duke.edu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to dump SOAP message contents? thread-index: AcjH/ArPUiSD/XDaSeq8SzCgGMM69AABvRgw From: "Vinh Nguyen (vinguye2)" To: X-OriginalArrivalTime: 06 Jun 2008 18:31:29.0947 (UTC) FILETIME=[899FD6B0:01C8C803] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=4030; t=1212777090; x=1213641090; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=vinguye2@cisco.com; z=From:=20=22Vinh=20Nguyen=20(vinguye2)=22=20 |Subject:=20RE=3A=20How=20to=20dump=20SOAP=20message=20cont ents? |Sender:=20; bh=DHo/wvtOV6Ant798O7JavlcEIjHcRXzWLpVMg3Kf42o=; b=Gt9bNB2l3dXIGdRo308kmJcV5W7U5RrPlOcJ0jq7R6ab9L6AGgW98Odm/i dEo8TiZoC0tr57pX3JpRrsYcaO6OjyjoRG87C00y8PSfXxIKTic7rmohnc/b IecLX2BOru; Authentication-Results: sj-dkim-3; header.From=vinguye2@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C8C803.8998CE37 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Or, you can install the attached Perl CGI script to a server like Apache or IIS. I initially wrote it to test WS-Notification messages, but it can also be used for general testing. Just send your SOAP request to the CGI as the "endpoint", and it'll dump the HTTP headers and SOAP content to a temp file. This way, you can see exactly what was sent by your client. -Vinh -----Original Message----- From: Gary Weaver [mailto:gary.weaver@duke.edu]=20 Sent: Friday, June 06, 2008 10:37 AM To: axis-user@ws.apache.org; satish_madanwad@yahoo.com Subject: Re: How to dump SOAP message contents? In addition to using tcp tunnel or tcpmon you can just use logging to log the request and response: log4j.logger.httpclient.wire.content=3DDEBUG (within log4j.properties file in classpath (or within common/classes/, shared/classes/, or (webapp)/WEB-INF/classes/, etc.) That won't print the HTTPHeaders though, although the only thing in the header that seems of much importance is SOAPAction. Hope this helps, Gary -- Gary Weaver Internet Framework Services Office of Information Technology Duke University Juergen Weber wrote: > see http://articles.techrepublic.com.com/5100-10878_11-1049605.html > > On Fri, Jun 6, 2008 at 3:18 PM, satish madanwad > wrote: > =20 >> Hi, >> >> I am using WebServices with Apache Axis in my programs. I have generated >> client stubs and can prepare and send the WebService request properly. >> >> I am trying to dump SOAP message (XML format) which is sent to WebServer >> for processing (to examine exact message being sent). I am not able to find >> any APIs for the same. >> >> Can you please suggest, if there is any API to dump SOAP messages sent >> from Apache Axis to WebServer? >> >> Thanks in advance, >> Satish >> >> >> >> ________________________________ >> Download prohibited? No problem. CHAT from any browser, without download. >> =20 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > =20 --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org ------_=_NextPart_001_01C8C803.8998CE37 Content-Type: application/x-zip-compressed; name="consumer.zip" Content-Transfer-Encoding: base64 Content-Description: consumer.zip Content-Disposition: attachment; filename="consumer.zip" UEsDBBQAAgAIAGpbxjhnput5xAIAAL8FAAAMAAAAY29uc3VtZXIuY2dprVRdT+JAFH0n4T9cBzZA VlpWs8mmCkZRxBc1yu6+8DK2V5jd6czYGahE2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Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org ------_=_NextPart_001_01C8C803.8998CE37--