axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13943] - axis fault dumps entire response to std out
Date Fri, 01 Nov 2002 20:58:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13943>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13943

axis fault dumps entire response to std out





------- Additional Comments From rajendra.pujari@fmr.com  2002-11-01 20:58 -------
I don't know exact steps to reproduce this error, how ever I have pasted below 
the method from soapstub, we have just changed this method to print line number 
to see source of the dump, as per our observation dump is coming after 
line "7**********". To reproduce in our environment we just changed our calling 
service URL to invalid URL. e.g. changing http://abc.com/ems.asmx to 
http://abc.com/ems.asm1

Pls let me know if you need any other information.

Thanks,


------------ method from generated code from WSDL -----

    public void getEmailAddress(com.fmr.holders.FESCOHeadHolder FESCOHead, 
com.fmr.holders.EmailInfoHolder emailInfo) throws java.rmi.RemoteException {
System.err.println("4**********" );
        if (super.cachedEndpoint == null) {
            throw new org.apache.axis.NoEndPointException();
        }
System.err.println("5**********" );
        org.apache.axis.client.Call _call = createCall();
        _call.addParameter(new javax.xml.namespace.QName
("http://fmr.com/magic/", "FESCOHead"), new javax.xml.namespace.QName
("http://fmr.com/magic/", "FESCOHead"), com.fmr.FESCOHead.class, 
javax.xml.rpc.ParameterMode.INOUT);
        _call.addParameter(new javax.xml.namespace.QName
("http://fmr.com/magic/", "EmailInfo"), new javax.xml.namespace.QName
("http://fmr.com/magic/", "EmailInfo"), com.fmr.EmailInfo.class, 
javax.xml.rpc.ParameterMode.INOUT);
        _call.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
        _call.setUseSOAPAction(true);
        _call.setSOAPActionURI("http://fmr.com/magic/GetEmailAddress");
        _call.setEncodingStyle(null);
        _call.setScopedProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, 
Boolean.FALSE);
        _call.setScopedProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, 
Boolean.FALSE);
        _call.setOperationStyle("wrapped");
        _call.setOperationName(new javax.xml.namespace.QName
("http://fmr.com/magic/", "GetEmailAddress"));
System.err.println("7**********" );
        java.lang.Object _resp = _call.invoke(new java.lang.Object[] 
{FESCOHead.value, emailInfo.value});
System.err.println("6**********" );
        if (_resp instanceof java.rmi.RemoteException) {
System.err.println("3**********" );
            throw (java.rmi.RemoteException)_resp;
        }
        else {
            java.util.Map _output;
            _output = _call.getOutputParams();
            try {
                FESCOHead.value = (com.fmr.FESCOHead) _output.get(new 
javax.xml.namespace.QName("http://fmr.com/magic/", "FESCOHead"));
            } catch (java.lang.Exception _exception) {
System.err.println("1**********" );
                FESCOHead.value = (com.fmr.FESCOHead) 
org.apache.axis.utils.JavaUtils.convert(_output.get(new 
javax.xml.namespace.QName("http://fmr.com/magic/", "FESCOHead")), 
com.fmr.FESCOHead.class);
            }
            try {
System.err.println("2**********" );
                emailInfo.value = (com.fmr.EmailInfo) _output.get(new 
javax.xml.namespace.QName("http://fmr.com/magic/", "EmailInfo"));
            } catch (java.lang.Exception _exception) {
                emailInfo.value = (com.fmr.EmailInfo) 
org.apache.axis.utils.JavaUtils.convert(_output.get(new 
javax.xml.namespace.QName("http://fmr.com/magic/", "EmailInfo")), 
com.fmr.EmailInfo.class);
            }
        }
    }

---------------------------------------------------------------------

Mime
View raw message