[ 
https://issues.apache.org/jira/browse/AXIS2-5921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16528101#comment-16528101
 ] 

robert lazarski commented on AXIS2-5921:
----------------------------------------

Version 1.6.2 is very old and unsupported. Can you upgrade to 1.7.8?

Anyways, you seem to be having a problem here parsing an invalid payload. That 
error looks like its around a UUID. There may be some type of session / request 
tracking and that UUID may be invalid or expired. You don't show your payload 
XML however I suggest upgrading to 1.7.8, and looking for clues around that 
UUID.

MultirefHelper:

public OMElement processOMElementRef(String id) throws AxisFault {
        if (!filledTable) {
            readallChildElements();
        }
        OMElement val = (OMElement)elementMap.get(id);
        if (val == null) {
            throw new AxisFault("Invalid reference :" + id);
        } else {
            OMElement ele = processElementforRefs(val);
            OMElement cloneele = elementClone(ele);
            omElementMap.put(id, cloneele);
            return cloneele;
        }
    }

BeanUtil:

    OMAttribute omatribute = MultirefHelper.processRefAtt(omElement);
    String ref = null;
    if (omatribute != null) {
        hasRef = true;
        ref = MultirefHelper.getAttvalue(omatribute);
    }

 

 

> Soap with attachment service migration to Axis2 failure
> -------------------------------------------------------
>
>                 Key: AXIS2-5921
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5921
>             Project: Axis2
>          Issue Type: Bug
>            Reporter: Anoobkumar
>            Priority: Major
>
> soapui - Soap with attachment failure with Axis2 implementation - Stack 
> Overflow
> I am migrating an old web service implemented with Axis 1.4, which receives 
> and respond Soap With Attachment data. When I do a testing of the service 
> with SOAP UI, I am getting error with Invalid Reference :, can anyone help me 
> on this?
> I am using Java 1.8, WebLogic 10.3.6 server, Axis2 - 1.6.2
> soapui - Soap with attachment failure with Axis2 implementation - Stack 
> Overflow
> {{org.apache.axis2.AxisFault: Invalid reference 
> :b4f63251-c62e-405f-b2fa-939abd706f43 at 
> org.apache.axis2.databinding.utils.MultirefHelper.processRef(MultirefHelper.java:116)
>  at 
> org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:791) 
> at 
> org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:737) 
> at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:646) 
> at org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:153) at 
> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:206) 
> at 
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>  at 
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>  at 
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)
>  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) at 
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>  at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) 
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at 
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
>  at 
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
>  at 
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) 
> at 
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184) 
> at 
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3732)
>  at 
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
>  at 
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) 
> at 
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
>  at 
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
>  at 
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
>  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at 
> weblogic.work.ExecuteThread.run(ExecuteThread.java:221)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to