|
I am stuck with the issue I reported to u earlier. I have
been working on resolving this issue for last 14 days but no success. Please
help me out PROBLEM STATEMENT: i have the java server based on spring framework which
exposes its been called SessionService
on iiop and registered it on jac naming service. The client is developed on Visual studio 2005 using mico orb
“mico-cl8-10.4.06” (special build by soran for vc2005 )
version which i complied on VS2005. I have an valuetype seq1_ Session
which is an sequence of Session
valuetype corresponding to this value type I have factory registered with orb
to construct this on client side. Problem I face is when I make a call Get AllSession() on SessionService which returns the
seq1_session The call is successful , I get the se1_session. I iterate over the seq1_session and get the session valuetype
Up to this every thing work fine but when I try to dynamically
cast the session value type to session_impl (which is a wrapper over the OBV
session class ) The dynamic_cast fail it return me the NULL. But if I use
the typeid to check the object type on session it gives me the session_impl I have debug the mico code and what is found is
seq1_session demarshalling is proper. I can sess the session valuetype properly
get constructed and the data is properly Filled in the session valuetype. I get the properly build
sequence. But not able to understand the why I am not able to
dynamic_cast it to session_impl when the object it created at the time of
demashal is session_impl in the call create_for_unmarshal
in session factory. It is very strange that if i compile the client on VC7/Visual Studios 2002 then the same code
works using the mico build 2.3.12 compiled on vc7 And Also on Gcc 401
version I get the same problem. The dynamic_cast fails. In all these cases above no
change has been made in the Java Server. Please help me out to solve the issue. I can provide u
the sample code.
Guminder
Singh Member (SDG) Core
Technologies Group Quark Media House pvt Ltd. A- 45 industrial
Area (Mohali) Phone: 91
-172-2299440 CONFIDENTIALITY
NOTICE |
_______________________________________________ Mico-devel mailing list [email protected] http://www.mico.org/mailman/listinfo/mico-devel

