Hi all,

 

I’ve got a webservice developed using Axis 1.3 with a Document Literal Wrapped WSDL.  I’m getting an InvocationTargetException in my SoapBindingStub when Axis is being called.  Here’s the code –

 

    public webservice.client.CpeProperties[] listCPE(webservice.client.ListCPE parameters) throws java.rmi.RemoteException {

        if (super.cachedEndpoint == null) {

            throw new org.apache.axis.NoEndPointException();

        }

        org.apache.axis.client.Call _call = createCall();

        _call.setOperation(_operations[29]);

        _call.setUseSOAPAction(true);

        _call.setSOAPActionURI("");

        _call.setEncodingStyle(null);

        _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);

        _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);

        _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);

        _call.setOperationName(new javax.xml.namespace.QName("", "listCPE"));

 

        setRequestHeaders(_call);

        setAttachments(_call);

 try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters});

 

        if (_resp instanceof java.rmi.RemoteException) {

            throw (java.rmi.RemoteException)_resp;

        }

        else {

            extractAttachments(_call);

            try {

                return (webservice.client.CpeProperties[]) _resp;

            } catch (java.lang.Exception _exception) {

                return (webservice.client.CpeProperties[]) org.apache.axis.utils.JavaUtils.convert(_resp, webservice.client.CpeProperties[].class);

            }

        }

  } catch (org.apache.axis.AxisFault axisFaultException) {

  throw axisFaultException;

}

    }

 

The exception is being thrown in the _call.invoke.  Obviously there is something wrong when Axis is reflecting to the method, but I can’t seem to identify it.  Can anyone point me in the right direction to track this one down?

 

Thanks.

 

Jerry Jalenak

Software Engineer

Netopia, Inc.

 

Reply via email to