hi all,
please help me to migrate from 0.93 to 0.94 following code:
=======================
    private MessageContext makeCall(MessageContext requestContext, String 
action) {
        Call call;
        MessageContext result = null;
                try {
                        call = new Call();
                        call.setTo(targetEPR);
                        call.setTransportInfo(Constants.TRANSPORT_HTTP, 
Constants.TRANSPORT_HTTP, 
false);
                        QName opName = new QName("urn:XMLWSIntf-IXMLWS", 
action);
            OperationDescription opdesc = new OperationDescription(opName);
                        //Blocking invocation
            result = (MessageContext) 
call.invokeBlocking(opdesc ,requestContext);
                } catch (AxisFault e) {
                        if(debug)e.printStackTrace();
                }
                return result;
    }

=======================
        ConfigurationContextFactory fac = new ConfigurationContextFactory();
        ConfigurationContext configContext = 
fac.buildClientConfigurationContext("soap/axis2/config");
        try {
            msgContext = new MessageContext(configContext);
        } catch (AxisFault axisFault) {
            axisFault.printStackTrace();
        }
=======================

thanks in advance!

Reply via email to