Serialization vs marshalling

What is the Difference between Serialization vs marshalling.

Marshaling is process of encoding object to put them on the network (on one end) (and then Unmarshal the object to decode the object and place it in the address space on the other end).
In distibuted environment, while sending the object from client to server side, the object is marshelled on stun side , sent across the network and on skeleton side its unmarshelled (given to server for necessory processing).
Once the processing is done by server the response object is marshelled by the skeleton , sent across the network to the client and hece to stub and again unmarshelled and given to client.
So basically marshelling is encrypting phenomenon while transeferring the object on network.
Serialization is process of breaking the object(to be sent across network) into form that can be sent across the network (that is converting it into to a sequence of bytes).
Necessarily, before sending the object across network , it must be serialized.
And Marshelling is next step of sending the encrypted object(which is serialized) across the network.

Similar Messages

  • Get XML before sending to End Point

    Hi All,
    Can anyone give me an idea of how to get the actual XML in requestEnv. I want to save the XML before I send it to the web service end point so I can know exactly what I have sent for debugging reasons.
    I have done a good bit of googling on this and have found that it seems to point to either Serialization or Marshalling. The problem I can see with serialization, although I admit I dont know much about it, is this not going to build XML based on the elements in Envelope, instead of being the exact XML that I am sending? .. although I see that it should technically always be the same.
    I have tried all the obvious, envelope.toString() etc etc.
    Thanks!,
    Glenn
    URL endpointURL = new URL(_endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    String wrappingName = "coreBio";
    String targetNamespace = "http://identifyrequest.com";
    Vector requestData = new Vector();
    requestData.add(new Object[] {"MH", MH});
    requestData.add(new Object[] {"MC", MC});
    requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.setSOAPTransport(m_httpConnection);
    msg.send(endpointURL, "", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    Vector responseData = responseBody.getBodyEntries();

    One way (but probably not the only one) would be to extend the class & add a toString() method that outputs the XML. That way you can just write the object to a log, console, etc. with minimum fuss.

  • GetBusinessObject - Error marshalling objects, Not Serializable

    Hi,
    I am having the following in a stateful session to create another satateful session bean.
        public AdminSession getAdminSession() throws UnknownException, WarningException {
            checkSessionUser("getAdminSession");
            if (isAdmin()) {
                AdminSession adminSession;
                try {
                    final Context context = IToolsUtil.getInitialContext();
                    adminSession = (AdminSession)context.lookup("AdminSession");
                    System.out.println("Successfully created the adminsession bean");
                } catch (NamingException ne) {
                    ne.printStackTrace();
                    throw new UnknownException (new CatalogHelper("ITOOLS_100019", new Object[]{"Admin", ne.getMessage()}));
                try {
                    adminSession.initialize((DefaultSessionLocal)context.getBusinessObject(DefaultSessionLocal.class), rfl);
                    System.out.println("adminsession is initialized");
                } catch (WarningException we) {
                    adminSession.remove();
                    adminSession = null;
                    throw we;
                System.out.println("adminsession will be returned");
                return adminSession;
            } else {
                throw new WarningException (new CatalogHelper("ITOOLS_000042", sessionUser.getUserhandle()));
        }While executing initialize method, I am getting the following error. Both the session beans implemented Serializable. Even then I got the error.
    06/10/14 07:05:38 Successfully created the adminsession bean
    2006-10-14 07:05:38.187 ERROR J2EE EJB-08006 [DefaultSession:public com.itools.vs.model.session.AdminSession com.itools.vs.model.session.DefaultSessionBean.getAdminSession() throws com.itools.vs.model.exception.UnknownException,com.itools.vs.model.exception.WarningException] exception occurred during method invocation: oracle.oc4j.rmi.OracleRemoteException: com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException; nested exception is:
         com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
    2006-10-14 07:05:38.234 WARNING J2EE RMI-00009 Exception returned by remote server: {0}
    oracle.oc4j.rmi.OracleRemoteException: com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    at connection to localhost/127.0.0.1
         at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:480)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:424)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy1.getAdminSession(Unknown Source)
         at com.itools.vs.view.backing.Admin.CreateUser.submit_action(CreateUser.java:182)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
         at org.ajax4jsf.framework.ajax.AjaxActionComponent.broadcast(AjaxActionComponent.java:88)
         at org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:281)
         at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:257)
         at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:412)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    oracle.oc4j.rmi.OracleRemoteException: Error marshalling objects, Not Serializable: java.io.NotSerializableException: DefaultSession_LocalProxy_6nein01
         at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:447)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:423)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    java.io.NotSerializableException: DefaultSession_LocalProxy_6nein01
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
         at com.evermind.server.rmi.RMIProtocol$Version.marshallParameterDirectly(RMIProtocol.java:427)
         at com.evermind.server.rmi.RMIProtocol$Version_1_0.marshallParameter(RMIProtocol.java:467)
         at com.evermind.server.rmi.RMIProtocol.writeObject(RMIProtocol.java:75)
         at com.evermind.server.rmi.RMIProtocol.writeValue(RMIProtocol.java:130)
         at com.evermind.server.rmi.RMIClientConnection.writeArguments(RMIClientConnection.java:498)
         at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:441)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:423)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    at connection to localhost/127.0.0.1
         at oracle.oc4j.rmi.OracleRemoteException.receive(OracleRemoteException.java:123)
         at oracle.oc4j.rmi.RmiTransport.annotateException(RmiTransport.java:149)
         at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:822)
         at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:250)
         at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:205)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:187)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    oracle.oc4j.rmi.OracleRemoteException: Error marshalling objects, Not Serializable: java.io.NotSerializableException: DefaultSession_LocalProxy_6nein01
         at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:447)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:423)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    java.io.NotSerializableException: DefaultSession_LocalProxy_6nein01
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
         at com.evermind.server.rmi.RMIProtocol$Version.marshallParameterDirectly(RMIProtocol.java:427)
         at com.evermind.server.rmi.RMIProtocol$Version_1_0.marshallParameter(RMIProtocol.java:467)
         at com.evermind.server.rmi.RMIProtocol.writeObject(RMIProtocol.java:75)
         at com.evermind.server.rmi.RMIProtocol.writeValue(RMIProtocol.java:130)
         at com.evermind.server.rmi.RMIClientConnection.writeArguments(RMIClientConnection.java:498)
         at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:441)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:423)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Looks like, I can create a Local interface instance of a Session bean, but cannot pass pass it to the other session beans or classes. If I try to do that, I am getting Exception is "Error marshalling objects, Not Serializable: java.io.NotSerializableException: DefaultSession_RemoteProxy_6nein01; nested exception is:
    java.io.NotSerializableException: DefaultSession_RemoteProxy_6nein01".
    I tried making my SessionBean class implements Serializable like this.
    public class DefaultSessionBean implements SessionSynchronization, Serializable {...}
    No luck, however.
    According to http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/readme.html
    TopLink POJO's Must Implement java.io.Serializable When Returned From a Session Bean's Remote Interface (4902787)
    When creating a session bean facade for TopLink POJO objects, you must implement java.io.Serializable for each of the TopLink POJO objects returned from the SessionBean facade through a remote interface. This is typically required when using ADF Swing, a EJB Sample Client, or when your EJB Session Bean resides on a separate application server from the client.
    You can also tell you you need to implement java.io.Serializable when you get the following exception:
    com.evermind.reflect.UndeclaredExceptionTypeException:
    /oracle.oc4j.rmi.OracleRemoteException/
    at __Proxy1.[Your Class Name Here] (Unknown Source)
    The workaround is to manually edit each POJO object to implement java.io.Serializable. We plan to remove the need for this manual step in a future release.
    Is this information some where related to my issue? Please help me. I am stucked since so many days because of this.
    regds
    -raju

  • Marshall and Serialization

    Hello There:
    Can any one please educate me the difference between marshaling an object and serialize an object. They looked the same to me. they both flat the object to a readable format and maintain the state of the object. What's the difference, why both terms are used. Where do I find the definition of 'marshal'? Thank you very much!
    -RM

    Please search the web for general questions. But we'll let you slide this time. Here's what my search turned up:
    http://forum.java.sun.com/thread.jspa?threadID=616673&messageID=3436144
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=1&t=009261
    ...if you want more just google:
    http://www.google.com/search?q=marshalling+vs.+serialization

  • EJB + JPub = Serializable ?!

    Today I use Oracle objects with JPub and no any problems has occupied before. But now I intend for build EJB that use JPub produced classes, and the main problem is the JPub produced classes not serializable. Of course I try to subclass those classes and implements on them java.io.Selializable on both oracle.sql.Datum and java.sql.SQLData but marshaling error still present.
    My question is: if I pass to the client from EJB instance any object, this object must be one of the following class: String, BigDecimal, or user defined class contains only Selializable field? And I cannot use objects passed by value with classes like oracle.jpub.runtime.MutableStruct or java.sql.Array? If yes, that is mean JPub not useful tool for EJB development, and I must provide my own classes for my Oracle Objects that implements java.io.Serializable with only Serializable fields?
    null

    Today I use Oracle objects with JPub and no any problems has occupied before. But now I intend for build EJB that use JPub produced classes, and the main problem is the JPub produced classes not serializable. Of course I try to subclass those classes and implements on them java.io.Selializable on both oracle.sql.Datum and java.sql.SQLData but marshaling error still present.
    My question is: if I pass to the client from EJB instance any object, this object must be one of the following class: String, BigDecimal, or user defined class contains only Selializable field? And I cannot use objects passed by value with classes like oracle.jpub.runtime.MutableStruct or java.sql.Array? If yes, that is mean JPub not useful tool for EJB development, and I must provide my own classes for my Oracle Objects that implements java.io.Serializable with only Serializable fields?
    null

  • Java.rmi.MarshalException: error marshalling arguments

    I've two class Client and Main. Eventnotify is implemented in class Client using RMI techniques. Here is sample
    public interface EventNotify extends Remote {
    void SendNotification (String str) throws RemoteException;
    public class Client implements EventNotify {
         //implementation of EventNotify
         public void SendNotification(String str) {
         System.out.println("from srver: ..." +str);
    class Main {
    public static void main(String[] args) {
    Client clnt = new Client();
    int val = stub.register_client(host, clnt); //THE ERROR IS HERE
    The idea is to pass remote objects from client to a server. I've a server program running continously, but the problem is on passing objects of type Client. I'm facing marshaling problem.
    AND THE ERROR IS
    Client exception: java.rmi.MarshalException: error marshalling arguments; nested exception is:
         java.io.NotSerializableException: Client
    java.rmi.MarshalException: error marshalling arguments; nested exception is:
         java.io.NotSerializableException: Client
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:156)
         at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:195)
         at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:149)
         at $Proxy0.register_client(Unknown Source)
         at Main.main(Client.java:74)
    Thanks for helping.
    Caused by: java.io.NotSerializableException: Client
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1173)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343)
         at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:292)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:151)

    Probably I have a similar problem while calling remote object's method with parameter looks like that :
    public class ParamClass extends AbstractParamClass implements Runnable,
            java.io.Serializable {
        private NodeList field1; // part of crimson's tree
        private NamedNodeMap field2 = null;// part of crimson's tree
    public class RmiRemote extends AbstractRemote  { // Remote Object Class
    @Override
    public  Object remoteMethod1() throws RemoteException{
    ParamClass param = new  ParamClass("build with crimson");
    CustomInterface stub = (CustomInterface) registry.lookup(name);
    stub.callRemoteMethod(param); // exception here
    java.rmi.MarshalException: error marshalling arguments; nested exception is:
            java.io.NotSerializableException: org.apache.crimson.tree.AttributeSet
            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:138)
            at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)when I build param object with xerces - no exception occurs . Other methods of remote object doing well. Remote object extends AbstractRemote superclass derived from UnicastRemoteObject. How can I avoid this problem and call method with crimson's tree fields parameter?
    Thank you.

  • Serialization issue with Java 5 enum

    Hi,
    In one of my DTO class, i have used an enum as an instance variable. But I am getting a serialization error during RMI call.
    Caused by: org.omg.CORBA.MARSHAL: Mismatched serialization UIDs : Source (RepId RMI:com.nokia.oss.interfaces.usermanagement.dtos.UMStatusDTO:1191975053A2D5C1:0000000000000001) = 0000000000000001 whereas Target (RepId RMI:com.nokia.oss.interfaces.usermanagement.dtos.UMStatusDTO:7F5FECD5609C39F7:6318A841C6045391) = 6318A841C6045391  vmcid: IBM  minor code: 8B1  completed: No
         at com.ibm.rmi.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:467)
         at com.ibm.rmi.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
         at com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:1638)
         at com.ibm.rmi.util.ProxyUtil.copyObject(ProxyUtil.java:450)
         at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:754)
         at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1161)
         at $Proxy322.createUserProfiles(Unknown Source)
         at com.nokia.oss.interfaces.usermanagement.ejb.useradministration._UMUserAdministration_Stub.createUserProfiles(Unknown Source)
         at com.nokia.oss.tmf615.uamadapters.connectors.UMAPI$2$1.run(UMAPI.java:187)
         at com.nokia.oss.tmf615.uamadapters.connectors.UMAPI$2$1.run(UMAPI.java:186)
         at java.security.AccessController.doPrivileged(AccessController.java:246)
         at com.nokia.oss.tmf615.uamadapters.connectors.UMAPI$2.run(UMAPI.java:184)
         at com.nokia.oss.tmf615.uamadapters.connectors.UMAPI$2.run(UMAPI.java:182)
         at java.security.AccessController.doPrivileged(AccessController.java:279)
         at javax.security.auth.Subject.doAs(Subject.java:573)
         at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:168)
         at com.nokia.oss.tmf615.uamadapters.connectors.UMAPI.createUserProfiles(UMAPI.java:179)
         at com.nokia.oss.tmf615.uamadapters.operations.impl.UserManagerImpl.createUserProfile(UserManagerImpl.java:148)
         at com.nokia.oss.tmf615.uamadapters.operations.impl.UserManagerImpl.createUser(UserManagerImpl.java:81)
         at com.nokia.oss.tmf615.requesthandler.factory.ManageUAMImpl.createUser(ManageUAMImpl.java:103)
         at com.nokia.oss.tmf615.requesthandler.operations.RequestProcessor.addUserRequest(RequestProcessor.java:342)
         at urn.oasis.names.tc.SPML._2._0.wsdl.SPMLRequestPortTypeImpl.spmlAddRequest(SPMLRequestPortTypeImpl.java:1028)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:618)
         at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246)
         at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
         at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
         at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
         at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
         at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
         at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
         at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160)
         at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:75)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:593)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:533)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:818)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)My environment has WebSphere Application Server 6.1.
    Earlier, I had used serialVersionUID generated by Eclipse, but to debug I changed it to 1L. But still I am facing the same issue. Any help in solving this issue is greatly appreciated.
    Thanks.

    Caused by: org.omg.CORBA.MARSHAL: Mismatched serialization UIDs : Source (RepId RMI:com.nokia.oss.interfaces.usermanagement.dtos.UMStatusDTO:1191975053A2D5C1:0000000000000001) = 0000000000000001 whereas Target (RepId RMI:com.nokia.oss.interfaces.usermanagement.dtos.UMStatusDTO:7F5FECD5609C39F7:6318A841C6045391) = 6318A841C6045391  vmcid: IBM  minor code: 8B1  completed: NoEarlier, I had used serialVersionUID generated by Eclipse, but to debug I changed it to 1L.Why? To debug what? How would that help? This is exactly the problem that the exception message (above) is reporting. Change it back to 6318A841C6045391L.

  • Marshalling in Rmi

    Before data/object are to be transmitted it has to be marshalled,Where and who does the marshalling|?
    I am new to JAVA please help me out
    Abhishek Asthana
    [email protected]

    RMI does the marshalling for you. All you have to do is call the remote method and make sure the objects you pass and return are serializable.

  • Custom Serialization

    Hello,
    In My development I have to make a Web service which shout returns Complex Type.
    From Otn as follows
    http://otn.oracle.com/tech/webservices/htdocs/samples/serialize/index.html
    I found how to do it through editing WSDL/Web.xml file.
    But when i Testing my Web service it occures
    following
    errors:
    04/03/15 12:54:04 java.lang.IllegalArgumentException: No Serializer found to serialize a 'java.util.HashMap' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
    04/03/15 12:54:04      at org.apache.soap.util.xml.XMLJavaMappingRegistry.querySerializer(XMLJavaMappingRegistry.java:157)
    04/03/15 12:54:04      at org.apache.soap.encoding.soapenc.ParameterSerializer.marshall(ParameterSerializer.java:106)
    04/03/15 12:54:04      at org.apache.soap.rpc.RPCMessage.marshall(RPCMessage.java:265)
    04/03/15 12:54:04      at org.apache.soap.Body.marshall(Body.java:148)
    04/03/15 12:54:04      at org.apache.soap.Envelope.marshall(Envelope.java:203)
    04/03/15 12:54:04      at org.apache.soap.Envelope.marshall(Envelope.java:162)
    04/03/15 12:54:04      at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:442)
    04/03/15 12:54:04      at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:624)
    04/03/15 12:54:04      at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1117)
    04/03/15 12:54:04      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    04/03/15 12:54:04      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    04/03/15 12:54:04      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    04/03/15 12:54:04      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:356)
    04/03/15 12:54:04      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:614)
    04/03/15 12:54:04      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    04/03/15 12:54:04      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:784)
    04/03/15 12:54:04      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    04/03/15 12:54:04      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    04/03/15 12:54:04      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    04/03/15 12:54:04      at java.lang.Thread.run(Thread.java:536)
    I am using Jdev 10g preview with Embebded Oc4j Server.
    Where should be the Problem?
    Thank'x in Advance.

    hi,
    I worked with service exposed as a webservice accepting and returning the HashMap as parameter. Its working with me.
    I will provide you with the code. go thru it. let me know if you have any queries.
    client code
    package com.hash.map.service;
    import java.util.HashMap;
    import javax.xml.rpc.encoding.DeserializerFactory;
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.encoding.XMLType;
    import org.apache.axis.utils.Options;
    import org.apache.axis.encoding.ser.BeanSerializerFactory;
    import org.apache.axis.encoding.ser.BeanDeserializerFactory;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.namespace.QName;
    public class HashMapServiceClient
    public HashMapServiceClient()
    public static void main(String str[])
    try{
    String endPoint = "http://localhost:8080/axis/servlet/AxisServlet";
    Service service = new Service();
    Call call = (Call)service.createCall();
    call.setTargetEndpointAddress(new java.net.URL(endPoint));
    QName qNameIn = new QName("http://util.java","HashMap");
    call.addParameter(qNameIn,qNameIn,HashMap.class,ParameterMode.IN);
    call.setOperationStyle("rpc");
    call.setReturnClass(HashMap.class);
    //call.registerTypeMapping(HashMap.class,qNameIn,BeanSerialzerFactory.class,BeanDeserializerFactory.class);
    call.setOperationName((new QName("MyHashMapService","getHashMap")));
    HashMap hashMap = new HashMap();
    hashMap.put("name","Harish");
    hashMap.put("age","27");
    HashMap map = (HashMap)call.invoke(new Object[] {hashMap});
    System.out.println("Name changed-->" + (String)map.get("name"));
    System.out.println("Age changed-->" + (String)map.get("age"));
    }catch(Exception e)
    e.printStackTrace();
    wsdd
    <?xml version="1.0" encoding="UTF-8"?>
    <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <service name="MyHashMapService" provider="java:RPC">
    <parameter name="allowedMethods" value="getHashMap"/>
    <parameter name="className" value="com.hash.map.service.HashMapService"/>
    </service>
    </deployment>
    service
    package com.hash.map.service;
    import java.util.HashMap;
    public class HashMapService
    public HashMapService()
    public HashMap getHashMap(HashMap hashMap)
    System.out.println("Service Started");
    HashMap map = hashMap;
    String strName = (String)map.get("name");
    String strAge = (String)map.get("age");
    map.put("name","Kiran");
    map.put("age","24");
    System.out.println("Service Ended");
    return map;
    }

  • Org.w3c.dom.Element Serialization

    I see in the serialization list that org.w3c.dom.Document get's serialized to XML, but is there a reason why org.w3c.dom.Element only get's serialized to an object?  I would think that it should also be serialized to an XML Object, is there a way to do this without having to implement custom serialization for the type?

    I found another way to do this using the BlazeDS BeanProxy.  Essentially when marshalling the object to Blaze I convert the Element to a String (could be a Dom if I chose, but String was sufficient) and on the way back I build it back out.
    http://bugs.adobe.com/jira/browse/BLZ-305 is the place I got the  details from.

  • Unmarshall and Marshall back to XML yeild different result

    Hi,
    Iam unmarshalling input.xml to an java object and marshal it back to xml string. Iam not getting the same result. Any light on this? Is is because of the anyType? If validate the unmarshalled object it throws an error, but if i dont validate the code works giving the following result.
    PTest.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <schema targetNamespace="http://test.com"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="http://test.com"
    elementFormDefault="qualified">
    <complexType name="POuterType" abstract="true">
    <sequence>
    <choice>
    <element name="Inner1" type="anyType" />
    <element name="Inner2" type="anyType"/>
    </choice>
    </sequence>
    </complexType>
    </schema>
    Test.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <schema targetNamespace="http://test.com"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="http://test.com" elementFormDefault="qualified" >
    <include schemaLocation="PTest.xsd"></include>
    <complexType name="OuterType">
    <complexContent>
    <restriction base="tns:POuterType">
    <sequence>
    <choice>
    <element name="Inner1">
    <complexType>
    <sequence>
    <element name="TimeStamp" type="dateTime">
    </element>
    </sequence>
    </complexType>
    </element>
    <element name="Inner2">
    <complexType>
    <sequence>
    <element name="TimeStamp" type="dateTime">
    </element>
    </sequence>
    </complexType>
    </element>
    </choice>
    </sequence>
    </restriction>
    </complexContent>
    </complexType>
    <element name="Outer" type="tnsuterType"></element>
    </schema>
    Test.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <tnsuter xmlns:tns="http://test.com"
    xmlnssi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://test.com Test.xsd ">
    <tns:Inner1>
    <tns:TimeStamp>2001-12-31T12:00:00</tns:TimeStamp>
    </tns:Inner1>
    </tnsuter>
    Main.java
    public static void main(String[] args) throws Exception {
    JAXBContext ctx = JAXBContext.newInstance("test.vo" );
    Unmarshaller unmarsh = ctx.createUnmarshaller();
    Marshaller marsh = ctx.createMarshaller();
    marsh.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, new Boolean(true));
    marsh.setProperty(Marshaller.JAXB_SCHEMA_LOCATION,"http://test.com Test.xsd");
    Validator validator = ctx.createValidator();
    //Create an Object
    ObjectFactory obj = new ObjectFactory();
    Outer out =
    (Outer)unmarsh.unmarshal(
    new FileInputStream( "e:/agilan/JAXBTest/JAXBTe/references/XMLSchema/test/Test.xml" ) );
    StringWriter sw2 = new StringWriter();
    marsh.marshal(out, new PrintWriter(sw2) );
    StringBuffer sb2 = sw2.getBuffer();
    System.out.println(sb2.toString() );
    Result
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Outer xsi:schemaLocation="http://test.com Test.xsd" xmlnssi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://test.com">
    <Inner1>
    </Inner1>
    </Outer>
    Please not the timestamp tag is missing, which is present in the input.xml
    Iam struck up with is problem for the past 5days, without any clue. Please help.
    Additionally if I add the validation code after unmarsh.unmarshal(..).
    Iam getting the following exception
    Exception in thread "main" com.sun.xml.bind.serializer.AbortSerializationException: tag name "test.vo.AnyType" is not allowed. Possible tag names are: <test.vo.OuterType.Inner1Type>
         at test.vo.impl.runtime.ValidationContext.reportEvent(ValidationContext.java:199)
         at test.vo.impl.runtime.ValidationContext.reportEvent(ValidationContext.java:166)
         at test.vo.impl.runtime.MSVValidator.childAsElementBody(MSVValidator.java:336)
         at test.vo.impl.runtime.MSVValidator.childAsBody(MSVValidator.java:292)
         at test.vo.impl.POuterTypeImpl.serializeBody(POuterTypeImpl.java:61)
         at test.vo.impl.OuterTypeImpl.serializeBody(OuterTypeImpl.java:30)
         at test.vo.impl.runtime.MSVValidator._validate(MSVValidator.java:102)
         at test.vo.impl.runtime.MSVValidator.validate(MSVValidator.java:77)
         at test.vo.impl.runtime.ValidationContext.validate(ValidationContext.java:75)
         at test.vo.impl.runtime.MSVValidator.childAsElementBody(MSVValidator.java:366)
         at test.vo.impl.runtime.MSVValidator.childAsBody(MSVValidator.java:292)
         at test.vo.impl.OuterImpl.serializeBody(OuterImpl.java:87)
         at test.vo.impl.runtime.MSVValidator._validate(MSVValidator.java:102)
         at test.vo.impl.runtime.MSVValidator.validate(MSVValidator.java:77)
         at test.vo.impl.runtime.ValidationContext.validate(ValidationContext.java:75)
         at test.vo.impl.runtime.ValidatorImpl.validate(ValidatorImpl.java:121)
         at test.vo.impl.runtime.ValidatorImpl.validateRoot(ValidatorImpl.java:95)
         at client.Main.main(Main.java:72)
    --------------- linked to ------------------
    javax.xml.bind.ValidationException
    - with linked exception:
    [com.sun.xml.bind.serializer.AbortSerializationException: tag name "test.vo.AnyType" is not allowed. Possible tag names are: <test.vo.OuterType.Inner1Type>]
         at test.vo.impl.runtime.ValidatorImpl.validate(ValidatorImpl.java:131)
         at test.vo.impl.runtime.ValidatorImpl.validateRoot(ValidatorImpl.java:95)
         at client.Main.main(Main.java:72)
    DefaultValidationEventHandler: [ERROR]: tag name "test.vo.AnyType" is not allowed. Possible tag names are: <test.vo.OuterType.Inner1Type>
    Location: obj: test.vo.impl.OuterTypeImpl@f84386
    Iam badly struckup with this problem for the past 5 days please help

    Hi,
    Iam unmarshalling input.xml to an java object and marshal it back to xml string. Iam not getting the same result. Any light on this? Is is because of the anyType? If validate the unmarshalled object it throws an error, but if i dont validate the code works giving the following result.
    PTest.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <schema targetNamespace="http://test.com"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="http://test.com"
    elementFormDefault="qualified">
    <complexType name="POuterType" abstract="true">
    <sequence>
    <choice>
    <element name="Inner1" type="anyType" />
    <element name="Inner2" type="anyType"/>
    </choice>
    </sequence>
    </complexType>
    </schema>
    Test.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <schema targetNamespace="http://test.com"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="http://test.com" elementFormDefault="qualified" >
    <include schemaLocation="PTest.xsd"></include>
    <complexType name="OuterType">
    <complexContent>
    <restriction base="tns:POuterType">
    <sequence>
    <choice>
    <element name="Inner1">
    <complexType>
    <sequence>
    <element name="TimeStamp" type="dateTime">
    </element>
    </sequence>
    </complexType>
    </element>
    <element name="Inner2">
    <complexType>
    <sequence>
    <element name="TimeStamp" type="dateTime">
    </element>
    </sequence>
    </complexType>
    </element>
    </choice>
    </sequence>
    </restriction>
    </complexContent>
    </complexType>
    <element name="Outer" type="tnsuterType"></element>
    </schema>
    Test.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <tnsuter xmlns:tns="http://test.com"
    xmlnssi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://test.com Test.xsd ">
    <tns:Inner1>
    <tns:TimeStamp>2001-12-31T12:00:00</tns:TimeStamp>
    </tns:Inner1>
    </tnsuter>
    Main.java
    public static void main(String[] args) throws Exception {
    JAXBContext ctx = JAXBContext.newInstance("test.vo" );
    Unmarshaller unmarsh = ctx.createUnmarshaller();
    Marshaller marsh = ctx.createMarshaller();
    marsh.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, new Boolean(true));
    marsh.setProperty(Marshaller.JAXB_SCHEMA_LOCATION,"http://test.com Test.xsd");
    Validator validator = ctx.createValidator();
    //Create an Object
    ObjectFactory obj = new ObjectFactory();
    Outer out =
    (Outer)unmarsh.unmarshal(
    new FileInputStream( "e:/agilan/JAXBTest/JAXBTe/references/XMLSchema/test/Test.xml" ) );
    StringWriter sw2 = new StringWriter();
    marsh.marshal(out, new PrintWriter(sw2) );
    StringBuffer sb2 = sw2.getBuffer();
    System.out.println(sb2.toString() );
    Result
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Outer xsi:schemaLocation="http://test.com Test.xsd" xmlnssi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://test.com">
    <Inner1>
    </Inner1>
    </Outer>
    Please not the timestamp tag is missing, which is present in the input.xml
    Iam struck up with is problem for the past 5days, without any clue. Please help.
    Additionally if I add the validation code after unmarsh.unmarshal(..).
    Iam getting the following exception
    Exception in thread "main" com.sun.xml.bind.serializer.AbortSerializationException: tag name "test.vo.AnyType" is not allowed. Possible tag names are: <test.vo.OuterType.Inner1Type>
         at test.vo.impl.runtime.ValidationContext.reportEvent(ValidationContext.java:199)
         at test.vo.impl.runtime.ValidationContext.reportEvent(ValidationContext.java:166)
         at test.vo.impl.runtime.MSVValidator.childAsElementBody(MSVValidator.java:336)
         at test.vo.impl.runtime.MSVValidator.childAsBody(MSVValidator.java:292)
         at test.vo.impl.POuterTypeImpl.serializeBody(POuterTypeImpl.java:61)
         at test.vo.impl.OuterTypeImpl.serializeBody(OuterTypeImpl.java:30)
         at test.vo.impl.runtime.MSVValidator._validate(MSVValidator.java:102)
         at test.vo.impl.runtime.MSVValidator.validate(MSVValidator.java:77)
         at test.vo.impl.runtime.ValidationContext.validate(ValidationContext.java:75)
         at test.vo.impl.runtime.MSVValidator.childAsElementBody(MSVValidator.java:366)
         at test.vo.impl.runtime.MSVValidator.childAsBody(MSVValidator.java:292)
         at test.vo.impl.OuterImpl.serializeBody(OuterImpl.java:87)
         at test.vo.impl.runtime.MSVValidator._validate(MSVValidator.java:102)
         at test.vo.impl.runtime.MSVValidator.validate(MSVValidator.java:77)
         at test.vo.impl.runtime.ValidationContext.validate(ValidationContext.java:75)
         at test.vo.impl.runtime.ValidatorImpl.validate(ValidatorImpl.java:121)
         at test.vo.impl.runtime.ValidatorImpl.validateRoot(ValidatorImpl.java:95)
         at client.Main.main(Main.java:72)
    --------------- linked to ------------------
    javax.xml.bind.ValidationException
    - with linked exception:
    [com.sun.xml.bind.serializer.AbortSerializationException: tag name "test.vo.AnyType" is not allowed. Possible tag names are: <test.vo.OuterType.Inner1Type>]
         at test.vo.impl.runtime.ValidatorImpl.validate(ValidatorImpl.java:131)
         at test.vo.impl.runtime.ValidatorImpl.validateRoot(ValidatorImpl.java:95)
         at client.Main.main(Main.java:72)
    DefaultValidationEventHandler: [ERROR]: tag name "test.vo.AnyType" is not allowed. Possible tag names are: <test.vo.OuterType.Inner1Type>
    Location: obj: test.vo.impl.OuterTypeImpl@f84386
    Iam badly struckup with this problem for the past 5 days please help

  • Returning Non Serializable Objects

    Is it possible in anyway to return non serializable objects from the remote method of an EJB, for instance return a result set. Everytime i try, i get a CORBA marshalling exception, i tried to put the resultset in a serilized object such as an enumeration or vector but got the same error when retreiving it from the enumeration or vector. Help is needed and appreciated. Thanx.

    Is it possible in anyway to return non serializable objects from the remote method of an EJB, for instance return a result set. Everytime i try, i get a CORBA marshalling exception, i tried to put the resultset in a serilized object such as an enumeration or vector but got the same error when retreiving it from the enumeration or vector. Help is needed and appreciated. Thanx.

  • JAXB marshal and unmarshal

    hello,
    i have written some code to retrieve data from an XML file and mapped the data and display the mapped data in a new XML file, but i am able to display the mapped data in an MSdos window by running ANT, after this i am unable to write the displayed data in to XML file.
    Input XML file holds --- Firstname(Hello) and
    Lastname(World)
    my MSdos display data ----------- Hello World
    is in this way
    I want the above out put in to XML file
    if any body know this help me.
    Thank you.

    IMHO these classes are not meant to be serialised, the XML produced is the medium that is tranmitted between programs. The XMLB classes are available at both ends to do the marshalling/unmarshalling.I dissagree, xml is just an interface to the outside world, so to speak. I'm working with a project that uses jini and rmi, I really don't need the extra hasle of writting custom serialization classes.

  • 2D objects Serialization problem

    Welcome!
    I'm making a net game using RMI and I have this problem.
    When I'm trying to join my client with the server an error occures:
    Error: error marshalling arguments; nested exception is:
         java.io.NotSerializableException: java.awt.geom.Ellipse2D$Double
    My client contains an Object extending a JPanel class. There are 2D object used to make the map, and that's why this error occures.
    It's a funny thing, cause I'm not sending a whole Object of my client, but only it's refference (using "this" in the join() method) so I dont know why does the 2D object need to be serialized and sent :|?
    Any way, my question is how to make 2D objects serializable!? I have jdk1.5.0_06 and as far as I remember they should be srializable in this version. Mabey I'm dooing something wrong!? Mabey it's nessesary to ad an appropreate code-line or import sth... i don't know
    please help me... I have little time to finish my project, and this thing is blocking my work.
    Big thanks to anybodey who will help.
    regards floW

    I'll tel u the whole story then, my problem is as follows:
    public class BounceThread{
       public static void main(String[] args)   {
          JFrame ramka = new BounceFrame();
             ramka.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             ramka.setVisible(true);
    class BounceFrame extends JFrame{
    public BounceFrame()
          setSize(DEFAULT_WIDTH, DEFAULT_HEIGHT);
          setTitle("MiniGolf v 1.0");
          panel = new BallPanel(); // this contains maps made with 2D objects
          panel.setBackground(Color.green);
          panel.setVisible(panel.czy_wida&#263;_panel());
          add(panel, BorderLayout.CENTER);
    // I add a menu bar, that starts a net game:
    JMenuBar pasekMenu = new JMenuBar();
              setJMenuBar(pasekMenu);
              JMenu menuGra = new JMenu("Game");
           // and so on... and finaly I add an option:
              menuGame_Nowa.add(new
                        AbstractAction("Net game")
                             public void actionPerformed(ActionEvent event)
                                  net_game(panel);
    // here i write my net_game method:
    public void net_game(BallPanel aPanel)
         //here, i make an Client object, and connect him with my server
         client = new mgClient(panel);
         client.join();
         // I give panel as a paramete, cause I cant think of another way of leting my server to uce it's (panels) methods
         // If I join only a name of my client, then how can I change the panel in my BounceFrame from the Clients method
         // "shouted" by the server!? It has to be a field in the client's object.
         // Is there any other way out!?
    // Class BouceFrame holds the panel as a field:
    private mgClient client;
    private BallPanel panel;
    //and so on...
    }and that's the real problem I'm facing here. Is there any solution!? I think, that making a Client's field out of my panel is the only way ot. And that means I need those 2D objects serialized... :(
    Please help if u can.
    Regards floW

  • No Serializer found to serialize a 'org.w3c.dom.Element' using encoding style ...

    I use oc4j903 and win2k. I write a document style web service following Demo for Stateless Java Document Web Services.
    I Create an EAR file using WebServicesAssembler and deploy it .and my config.xml:
    <web-service>
    <display-name>Stateful Java Document milkdemo Web Service</display-name>
    <description>Stateful Java Document milkdemo Web Service Example</description>
    <!-- Specifies the resulting web service archive will be stored in ./docws.ear -->
    <destination-path>./milkdemo.ear</destination-path>
    <!-- Specifies the temporary directory that web service assembly tool can create temporary files. -->
    <temporary-directory>./temp</temporary-directory>
    <!-- Specifies the web service will be accessed in the servlet context named "/docws". -->
    <context>/milkdemo</context>
    <!-- Specifies the web service will be stateful -->
    <stateful-java-service>
    <interface-name>com.brightdairy.client.sync.SyncServerDoc</interface-name>
    <class-name>com.brightdairy.client.sync.SyncServerDocImpl</class-name>
    <!-- Specifies the web service will be accessed in the uri named "/docService" within the servlet context. -->
    <uri>/milkdemo</uri>
    <!-- Specifies the location of Java class files ./classes -->
    <java-resource>./classes</java-resource>
    <!-- Specifies that it uses document style SOAP messaging -->
    <message-style>doc</message-style>
    </stateful-java-service>
    <!-- generate the wsdl -->
    <wsdl-gen>
         <wsdl-dir>wsdl</wsdl-dir>
    <!-- over-write a pregenerated wsdl , turn it 'false' to use the pregenerated wsdl-->
         <option name="force">true</option>
         <option name="httpServerURL">http://localhost:8888</option>
    </wsdl-gen>
    <!-- generate the proxy -->
    <proxy-gen>
         <proxy-dir>proxy</proxy-dir>
         <option name="include-source">true</option>
    </proxy-gen>
    </web-service>
    my webservice java file:
    * Title: BrightDairy SOAP demo
    * Description:
    * Copyright: Copyright (c) 2002
    * Company: ufoasia
    * @author
    * @version 1.0
    package com.brightdairy.client.sync;
    import java.sql.*;
    import java.util.Vector;
    import java.util.Iterator;
    import org.w3c.dom.Element;
    import org.w3c.dom.Document;
    import org.w3c.dom.NodeList;
    import oracle.xml.parser.v2.XMLDocument;
    import oracle.xml.parser.v2.XMLElement;
    //import com.brightdairy.client.object.Product;
    import com.brightdairy.client.sync.SyncServerDoc;
    public class SyncServerDocImpl implements SyncServerDoc {
    public SyncServerDocImpl() {
    public Element getProductIDList() {
    Connection connServer = null;
    PreparedStatement stmtServerProduct = null;
    ResultSet rsServerProduct = null;
    Document doc = new XMLDocument();
    Element elProduct = doc.createElement("product");
    doc.appendChild(elProduct);
    long m_msec;
    m_msec = System.currentTimeMillis();
    try {
    connServer = makeConnection();
    System.out.println("1");
    stmtServerProduct = connServer.prepareStatement(
    "SELECT ID FROM " + SERVER_TABLE_PRODUCT );
    System.out.println("");
    rsServerProduct = stmtServerProduct.executeQuery();
    System.out.println("2");
    while(rsServerProduct.next()) {
    Element elID = doc.createElement("id");
    elID.appendChild(doc.createTextNode(rsServerProduct.getString("ID")));
    elProduct.appendChild(elID);
    System.out.println("3");;
    System.out.println("4");
    return doc.getDocumentElement();
    } catch(SQLException e) {
    e.printStackTrace();
    System.out.println("SQL exception has occured");
    System.out.println(e.getMessage());
    return doc.getDocumentElement();
    }finally {
    try {
    rsServerProduct.close();
    stmtServerProduct.close();
    connServer.close();
    m_msec = System.currentTimeMillis() - m_msec;
    System.out.println("6");
    System.out.println("getProductIDList:It take time:" m_msec/1000 "s");
    } catch(Exception e1) {}
    Now my firts question: when i generate the proxy WebServicesAssembler will failure (couldn't import jar.....) and i had imported all jar files,But if i commented proxy-gen , no error.
    and my second question: I commented proxy-gen and deployed ite and success. when i invoked it through web page , then error:
    java.lang.IllegalArgumentException: No Serializer found to serialize a 'org.w3c.
    dom.Element' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
    at org.apache.soap.util.xml.XMLJavaMappingRegistry.querySerializer(XMLJa
    vaMappingRegistry.java:157)
    at org.apache.soap.encoding.soapenc.ParameterSerializer.marshall(Paramet
    erSerializer.java:106)
    at org.apache.soap.rpc.RPCMessage.marshall(RPCMessage.java:265)
    at org.apache.soap.Body.marshall(Body.java:148)
    at org.apache.soap.Envelope.marshall(Envelope.java:203)
    at org.apache.soap.Envelope.marshall(Envelope.java:161)
    at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:309)
    at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:540)
    at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1106)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:721)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
    utor.java:803)
    at java.lang.Thread.run(Thread.java:484)
    I took much time and couln't get answer ,please help me!!!!!!!!!!!!

    Yeah!
    I have resolved it .
    It take me one day time!
    my error is 1: Element which I used is no namespace.
    2: no import enough jar files
    just so so .
    sorry! I am poor in English

Maybe you are looking for

  • Photoshop CS4 Freezes when Saving

    I have been designing some stuff in photoshop CS4. It has worked fine, just like normal. I finished my project and attempted to save. I proceeded to the file tab, then save. Noting came up, but my cursor changed to the loading sign (One note, I had j

  • Word 2008 crashes when I have several documents open

    I'm running word 2008, and whenever I have multiple documents open (some large) word seems to crash randomly after a while. I can open a bunch of documents, work with them, then leave the computer. When I come back and click on a document window, it'

  • Unable to open Sharepoint site with Designer "Folder name is not valid"

    Hi all, I'm using SharePoint 2013 with SharePoint Designer 2013, but currently I'm facing a weird behaviour. I can open my preproduction SharePoint portal with SharePoint Designer 2013, but when I'm trying to open my production environment, I'm recei

  • IPad and pc laptop downloads @ 24 mbps, Mac mini downloads @ 6  mbps. What the problem?

    All 3 devices in same location, why is the Mac mini so slow on download from wireless network?

  • Problem in Dynamic LOV query

    Hi, I have a LOV in my page its query should be based on item condition. So I tried using Apex provided Dynamic LOV Query with IF.. ELSE.. END IF condition.. But when I use this and run the page it is giving error "URL NOT FOUND". My query is    IF :