Re: Memory management

2005-12-09 Thread John Hawkins

I'm going to put this onto the web-site
in the next few days but sneak preview -

Many Web Services Client for C++ methods
either expect or create memory objects. 
Below is a list of rules that you must
follow when developing web service client applications: 
v Any memory object that is passed to
Web Services Client for C++ does not need to persist past the method for
which it was required and should be deleted at the earliest opportunity.

v Any memory object created and returned
by Web Services Client for C++ should be deleted by the client application
before the deletion of the web service that created it. Note that Windows
requires that the memory object be deleted from within the thread that
created it, otherwise you may get an out of bounds exception type error
from the core C++ libraries. 
v Any object passed by reference (rather
than value) that is used by Web Services Client for C++ must be created
using new, and destroyed using delete. 
v Once an object has been deleted, its
pointer must be set to NULL (this is to ensure that the pointer is not
used elsewhere).







Stettler, Robert
[EMAIL PROTECTED] 
08/12/2005 20:17



Please respond to
Apache AXIS C User List





To
axis-c-user@ws.apache.org


cc



Subject
Memory management








Does the client need to delete the memory
associated with the return objects returned by the generated webservice
methods? Or is the memory managed by the axis?





The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is 
addressed. If the reader of this message is not the intended recipient,

you are hereby notified that any review, retransmission, dissemination,

distribution, copying or other use of, or taking of any action in reliance

upon this information is strictly prohibited. If you have received this

communication in error, please contact the sender and delete the material

from your computer.




https versus http proxy

2005-12-09 Thread Franz Fehringer
Hello,

Is Axis C/C++ 1.5 able to tunnel https connections over http proxies?
According to my investigations probably not.
The necessary steps for this scheme would be (to my best knowledge)
1) connect normally to proxy
2) send http CONNECT request (with remote address as argument)
3) now we have a connection to the remote host (descriptor from step 1)
4) do SSL handshake
5) ready for normal SSL/HTTPS communication
I cannot find such logic in the AxisC sources.
Am i right that https over http proxis is not possible yet and if yes, is
this planned for the future?

Best regards

Franz

Dr. Franz Fehringer (Dipl. Math.)

ISO Software Systeme
Eichendorffstrasse 29
90491 Nürnberg
Deutschland

Tel. : +49/(911) - 99594-0
Fax  : +49/(911) - 99594-580

mailto:[EMAIL PROTECTED]
http://www.isogmbh.de