This snippet of code from org.apache.axis.providers.java.RPCProvider looks like a bug to me (line 156):
 
// This may have changed, so get it again...
// FIXME (there should be a cleaner way to do this)
       
        operation = msgContext.getOperation();
 
        if (operation == null) {
            QName qname = new QName(body.getNamespaceURI(),
                    body.getName());
            operation = serviceDesc.getOperationByElementQName(qname);
        }
 
won't this only work for RPC since in document style the root element of the SOAP bosy will NOT be the name of the operation?  Is this why you need to patch up the WSDD file in a document style service? Does anyone have a better solution?
 
 

This email and any files transmitted with it are intended solely for the person(s)to whom it is addressed. If you are not the intended recipient, please delete the message and all copies of it from your system, and destroy any hardcopies of it and contact the sender of the email.


Reply via email to