axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Reinhold (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5470) Problem with <xsi:nil="1"> in axis 2 1.6.2.i did'nt see this problem in axis 2 1.4.1.
Date Sat, 29 Dec 2012 12:30:12 GMT

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

Brian Reinhold commented on AXIS2-5470:
---------------------------------------

Just to let you know I am no expert on Axis2 but use it just like you do. I have run into
some bugs and have tinkered a little bit to try and fix them (as I needed them fixed in order
to get my business end to work). However, with sufficient information the Axis2 experts (those
who wrote the stuff) are likely to be able to help.

In any case, looking at your stack trace I see the following:

<Exception>org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: The
element: blockType cannot be null 
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at bgc.mia.webservices.stubs.miaipam.MIAIPAM14ServiceMessageReceiverInOut.fromOM(MIAIPAM14ServiceMessageReceiverInOut.java:1570)

at bgc.mia.webservices.stubs.miaipam.MIAIPAM14ServiceMessageReceiverInOut.invokeBusinessLogic(MIAIPAM14ServiceMessageReceiverInOut.java:129)

at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)

I do not know what "bgc.mia.webservices.stubs.miaipam.MIAIPAM14ServiceMessageReceiverInOut.invokeBusinessLogic"
is.  It is not part of the Axis2 project but looks like a customized handler to replace the
default handlers used by Axis2 (and other Apache projects). That is pretty normal as far as
I know. The exception is being thrown by this customized code. I assume that is your code.
 Here is the source code for the AbstractInOutMessageReceiver (if that can help -- Line 40
is prefixed by asterisks):

package org.apache.axis2.receivers;

import org.apache.axis2.AxisFault;
import org.apache.axis2.context.MessageContext;
import org.apache.axis2.engine.AxisEngine;
import org.apache.axis2.util.MessageContextBuilder;

/**
 * This is the Absract IN-OUT MEP MessageReceiver. The
 * protected abstract methods are only for the sake of breaking down the logic
 */
public abstract class AbstractInOutMessageReceiver extends AbstractMessageReceiver {
    public abstract void invokeBusinessLogic(MessageContext inMessage, MessageContext outMessage)
            throws AxisFault;

    public final void invokeBusinessLogic(MessageContext msgContext) throws AxisFault {
        MessageContext outMsgContext = MessageContextBuilder.createOutMessageContext(msgContext);
        outMsgContext.getOperationContext().addMessageContext(outMsgContext);

        ****invokeBusinessLogic(msgContext, outMsgContext);
        replicateState(msgContext);

        AxisEngine.send(outMsgContext);
    }
}

Brian

                
> Problem with <xsi:nil="1"> in axis 2 1.6.2.i did'nt see this problem in axis 2
1.4.1.
> -------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5470
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5470
>             Project: Axis2
>          Issue Type: Bug
>            Reporter: phanikumar
>            Priority: Blocker
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message