Where does this exist in your class definition in AS2 (I don't see it in the trace) :

Could not set object APPNAME on class com.optimal.raven.application.product.data.ApplicationSet's field APP_NAME


Maybe you could post both the AS2 AND Java Class file's definitions?


On 7/11/05, Stacy Young <[EMAIL PROTECTED]> wrote:

Having a helluva time trying to figure out what's going on here…trying to submit a custom type object…nothing unusual…but gateway debug is complaining as if I've not registered the object to the remote class properly…but I'm sure I have. Any ideas much appreciated!

 

The call…

 

Info: Request sent to http://localhost:7001/raven/amfgateway/serviceApplication from 127.0.0.1 received at 18:49:56.553 2005-07-11

Info: Deserializing request

  (Message #0 targetURI=serviceApplication.submitApplication, responseURI=/3)

    (Array #0)

      [0] = (Object #1)

        _flag = "Envelope"

        headers = (Array #2)

          [0] = (Array #3)

            [0] = "ServiceType"

            [1] = false

            [2] = "stateful-class"

        data = "" #4)

          [0] = (Typed Object #5 'com.optimal.raven.application.product.data.ApplicationSet')

            fmaId = null

            savedContent = null

            attachments = null

            modificationDate = null

            appliedProfile = (Array #6)

              [0] = "1000"

            merchantName = null

            notes = null

            _remoteClass = "com.optimal.raven.application.product.data.ApplicationSet"

            ….

 

 

 

Gateway Debug:

 

Info: Processing batch of 1 request(s)

Info: Requesting target 'serviceApplication.submitApplication'

Info: Service 'com.optimal.raven.client.ApplicationClient' sent to adapter 'JavaBeanAdapter'

Error: Cannot invoke method 'submitApplication'.

flashgateway.GatewayException: Cannot invoke method 'submitApplication'.

        at flashgateway.adapter.java.JavaAdapter.getMethod(JavaAdapter.java:301)

        at flashgateway.adapter.java.JavaBeanAdapter.invokeFunction(JavaBeanAdapter.java:64)

        at flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:117)

        at flashgateway.filter.MessageSecurityFilter.invoke(MessageSecurityFilter.java:144)

        at flashgateway.filter.ServiceNameFilter.invoke(ServiceNameFilter.java:101)

        at flashgateway.filter.EnvelopeFilter.invoke(EnvelopeFilter.java:102)

        at flashgateway.filter.SessionFilter.invoke(SessionFilter.java:28)

        at flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:57)

        at flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:39)

        at flashgateway.filter.LogFilter.invoke(LogFilter.java:46)

        at flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)

        at flashgateway.filter.PacketSecurityFilter.invoke(PacketSecurityFilter.java:68)

        at flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)

        at flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:89)

        at flashgateway.Gateway.invoke(Gateway.java:217)

        at flashgateway.controller.GatewayServlet.service(GatewayServlet.java:69)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)

        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)

        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)

        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6456)

        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)

        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)

        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)

        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)

        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

Info: Serializing response

  (Message #0 targetURI=/3/onStatus, responseURI=null)

    (Object #0)

      level = "error"

      code = "Server.Processing"

      type = "flashgateway.GatewayException"

      rootcause = (Object #1)

        level = "error"

        code = null

        type = "flashgateway.translator.ASTranslationException"

        details = "

flashgateway.translator.ASTranslationException: Could not set object APPNAME on class com.optimal.raven.application.product.data.ApplicationSet's field APP_NAME

_FIELD_CDE

        at flashgateway.translator.decoder.JavaBeanDecoder.decodeObject(JavaBeanDecoder.java:99)

        at flashgateway.translator.decoder.ActionScriptDecoder.decodeObject(ActionScriptDecoder.java:22)

        at flashgateway.translator.ASTranslator.fromActionScript(ASTranslator.java:187)



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to