axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Now Pains Now Gains <nowgains.nowpa...@gmail.com>
Subject Re: Axis2 - multiple calls memory violation
Date Sun, 12 Dec 2010 03:29:08 GMT
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:

  <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
  <SOAP-ENV:Envelope
   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">
	<SOAP-ENV:Body>
		<ns1:getEmployeeDetails
		 xmlns:ns1="urn:MySoapServices">
			<param1 xsi:type="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="1.0" encoding="UTF-8" ?>
  <SOAP-ENV:Envelope
   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/">
	<SOAP-ENV:Body>
		<ns1:getEmployeeDetailsResponse
		xmlns:ns1="urn:MySoapServices"
		SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
			<return
			xmlns:ns2="http://schemas.xmlsoap.org/soap/encoding/"
			xsi:type="ns2:Array"
			ns2:arrayType="xsd:string[2]">
				<item xsi:type="xsd:string">Bill Posters</item>
				<item xsi:type="xsd:string">+1-212-7370194</item>
			</return>
		</ns1:getEmployeeDetailsResponse>
	</SOAP-ENV:Body>
  </SOAP-ENV:Envelope>

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

Mime
View raw message