You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Küst Heiko <he...@winterthur.ch> on 2005/03/17 14:49:21 UTC
problem compiling apache addressing
hello,
i have downloaded apache addressing from the cvs repository, but now i have
a problem compiling the source. there are errors (E:) in class
AddressingHandler in method resetContextOperations:
public static void resetContextOperations(MessageContext msgContext)
throws AxisFault {
Message msg = msgContext.getCurrentMessage();
if (msg == null) {
return;
}
SOAPEnvelope env = msg.getSOAPEnvelope();
if (env == null) {
return;
}
SOAPBodyElement bodyElement = env.getFirstBody();
if (bodyElement != null && bodyElement instanceof RPCElement) {
RPCElement element = (RPCElement)bodyElement;
// update the operations in RPCElement
(E:) element.updateOperationsByQName();
(E:) OperationDesc [] operations = element.getOperations();
// and set operation if appropriate
if (operations == null) {
(E:) element.updateOperationsByName();
} else if (operations.length == 1) {
msgContext.setOperation(operations[0]);
}
} else {
msg.getSOAPPartAsString();
}
}
errors are:
The method updateOperationsByQName() is undefined for the type RPCElement
The method getOperations() is undefined for the type RPCElement
i use the current version of axis (1.2_rc3). i have had a look inside the
axis classes, and in fact, the methods don't exist.
do i need another version of axis, additional/other jars? is there a binary
distribution of apache addressing?
thanks for your help.
heiko