Return-Path: Delivered-To: apmail-axis-c-user-archive@www.apache.org Received: (qmail 76236 invoked from network); 12 Dec 2010 04:15:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Dec 2010 04:15:51 -0000 Received: (qmail 86682 invoked by uid 500); 12 Dec 2010 04:15:51 -0000 Delivered-To: apmail-axis-c-user-archive@axis.apache.org Received: (qmail 86535 invoked by uid 500); 12 Dec 2010 04:15:49 -0000 Mailing-List: contact c-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C User List" Delivered-To: mailing list c-user@axis.apache.org Received: (qmail 86527 invoked by uid 99); 12 Dec 2010 04:15:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Dec 2010 04:15:49 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dushshantha.chandaradasa@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-iy0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Dec 2010 04:15:41 +0000 Received: by iye19 with SMTP id 19so485566iye.32 for ; Sat, 11 Dec 2010 20:15:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=tsx+o5ZehWKAUuie79WX6Zbk5K7H3d0cRHMqZdyzYaw=; b=HwkACr92bs0FBxpUghogrqQZNSptUNBJ947IujZuKRw/Ek8iBj/2UI7DUmF5s2SY1L +EX3rtiFC9/Mjn+fR3bWvsT5IWGO8P0bfKJqvm8nYOU2RC0WRhtlvAkSZ+V4xhtv7pXA xcG69jdv/zonMAzk8mqng0txNqMTtGZzZUgDg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=FMhnowzmQUPjs6AxNJ8tRDn0lL15mNHF3FEUbeZKktHa2PtmOSKcoK8v1djOVhNvIj cLl3qFXJ9I/06c4zRIjDlv3yDlonmtYIDaJ3nJZu/FRuTEa6N7IWx0tLnrGHQqNyHjJg oHBMjLdxaepqjBdZOIDW1HVwHc710H8JhUNiI= Received: by 10.42.177.133 with SMTP id bi5mr1398511icb.506.1292127319774; Sat, 11 Dec 2010 20:15:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.230.69 with HTTP; Sat, 11 Dec 2010 20:14:59 -0800 (PST) In-Reply-To: References: From: Marcus Dushshantha Chandradasa Date: Sat, 11 Dec 2010 22:14:59 -0600 Message-ID: Subject: Re: Axis2 - multiple calls memory violation To: Apache AXIS C User List Content-Type: multipart/alternative; boundary=90e6ba6e86dce6572a04972ed548 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e86dce6572a04972ed548 Content-Type: text/plain; charset=UTF-8 You can use TCPmon to see the SOAP message. No need to mess around with log files. http://ws.apache.org/commons/tcpmon/download.cgi Thanks Dushshantha On Sat, Dec 11, 2010 at 9:29 PM, Now Pains Now Gains < nowgains.nowpains@gmail.com> wrote: > Dear all, > > I'm newbie of AXIS/C. After a few days of learning. I really like it. > Thanks a lot for the developers! I have a very basic question, I googled > again and again, but with no lucky. I hope somebody can answer me here. > > I used gSoap before. It has a good feature that it allows your to write the > SOAP message your sent and received in log files when you debug your code. > For example, your request sent for a reqest: > > > String[] getEmployeeDetails ( int employeeNumber ); > would look similar to this in the log file: > > > > > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > > > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" > > > xmlns:xsd="http://www.w3.org/1999/XMLSchema"> > > xmlns:ns1="urn:MySoapServices"> > > > 1016577 > > > > > And your response would be something like this in the receiving log: > > > xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" > > > xmlns:xsd="http://www.w3.org/1999/XMLSchema" > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> > > > > xmlns:ns1="urn:MySoapServices" > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> > > > xmlns:ns2="http://schemas.xmlsoap.org/soap/encoding/" > xsi:type="ns2:Array" > ns2:arrayType="xsd:string[2]"> > > > Bill Posters > +1-212-7370194 > > > > > > > > Does AXIS/C support such kind of logging? If it does support it, how? If it > does not support this, how can I get this information? > > Thanks a lot! > > Zhang > --90e6ba6e86dce6572a04972ed548 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You can use TCPmon to see the SOAP message. No need to mess around with log= files.=C2=A0

http://ws.apache.org/commons/tcpmon/download.cgi

Thanks
Dushshantha

On Sat, Dec 11, 2010 at 9:29 PM, Now Pains Now Gains &= lt;nowgains.nowpains@gmail.c= om> wrote:
Dear all,

I'm newbie of AXIS/C. = After a few days of learning. I really like it. Thanks a lot for the develo= pers! I have a very basic question, I googled again and again, but with no = lucky. I hope somebody can answer me here.

I used gSoap before. It has a good feature that it allows your to write= the SOAP message your sent and received in log files when you debug your c= ode. For example, your request sent for a reqest:

  String[] getEmployeeDetails ( int employeeNumber );
would look similar= to this in the log file:
<= pre> <?xml version=3D"1.0" encoding=3D"UTF-8" stand= alone=3D"no" ?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle=3D"http://schemas.xm= lsoap.org/soap/encoding/"
xmlns:SOAP-ENV=3D"http://schemas= .xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC=3D"http://schemas.xmlsoap.org/soap/encoding/"<= br> xmlns:xsi=3D"http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd=3D"http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Bo= dy>
<ns1:getEmployeeDetails
xmlns:ns1=3D"urn:MySoapSe= rvices">
<param1 xsi:type=3D"xsd:int">1016577</param1>
= </ns1:getEmployeeDetails>
</SOAP-ENV:Body>
</SOAP-= ENV:Envelope>
And your response would be something like = this in the receiving log:
  <?xml version=3D"1.0" e=
ncoding=3D"UTF-8" ?>
<SOAP-ENV:Envelope
xmlns:xs= i=3D"http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd=3D"http://www.w3.org/1999/XMLSchema"
xmlns:SOAP-ENV=3D= "http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ns1:getEmployeeDetailsResponse
xmlns:n= s1=3D"urn:MySoapServices"
SOAP-ENV:encodingStyle=3D"http:/= /schemas.xmlsoap.org/soap/encoding/">
<return
xmlns:ns2=3D"http://schemas.xmlsoap.org/soap/encoding= /"
xsi:type=3D"ns2:Array"
ns2:arrayType=3D&q= uot;xsd:string[2]">
<item xsi:type=3D"xsd:string">Bill Posters</item>=
<item xsi:type=3D"xsd:string">+1-212-7370194</it= em>
</return>
</ns1:getEmployeeDetailsResponse> </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Doe= s AXIS/C support such kind of logging? If it does support it, how? If it do= es not support this, how can I get this information?

Thanks a lot!
Zhang

--90e6ba6e86dce6572a04972ed548--