Hi, all.
I am having the following problem: I need to run multiple requests within
the same soap session (login, perform useful actions, logout). I though
that setting setManageSession(true) on Options object would be enough. But
then by stepping through the sourcecode, I noticed, that only one place is
calling isManageSession:

protected void addReferenceParameters(MessageContext msgctx) {
        EndpointReference to =3D msgctx.getTo();
        if (options.isManageSession()) {
            EndpointReference tepr =3D sc.getTargetEPR();
            if (tepr !=3D null) {
                Map map =3D tepr.getAllReferenceParameters();
                if (map !=3D null) {
                    Iterator valuse =3D map.values().iterator();
                    while (valuse.hasNext()) {
                        Object refparaelement =3D valuse.next();
                        if (refparaelement instanceof OMElement) {
                            to.addReferenceParameter((OMElement)
refparaelement);
                        }
                    }
                }
            }
        }
    }

in OperationClient.java. End tepr is null. So, I made sure that tepr is
properly propagated. But now tepr.getAllReferenceParameters() returns null.
How do I populate that map and with what values? If I am pointed to a
document that deals with similar situation, that would be good enough.

Vadim



*******************************************************************************
This communication may contain privileged and/or confidential information. It
is intended solely for the use of the addressee. If you are not the intended
recipient, you are strictly prohibited from disclosing, copying, distributing
or using any of this information. If you received this communication in error,
please contact the sender immediately and destroy the material in its entirety,
whether electronic or hard copy. This communication may contain nonpublic 
personal
information about consumers subject to the restrictions of the 
Gramm-Leach-Bliley Act. You may not directly or indirectly reuse or redisclose
such information for any purpose other than to provide the services for which
you are receiving the information.

127 Public Square, Cleveland, OH 44114
*******************************************************************************


If you prefer not to receive future e-mail offers for products or services from
Key send an e-mail to [EMAIL PROTECTED] with 'No Promotional E-mails' in the
SUBJECT line.

Reply via email to