ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Waruna Ranasinghe <waruna...@gmail.com>
Subject Identifying a Node, whether a message defined in WSDL or a normal variable
Date Mon, 05 Oct 2009 11:09:38 GMT
Hi all,
This is regarding - https://issues.apache.org/jira/browse/ODE-672

I need to check whether the way I used to identify messages defined in WSDLs
(variables with message parts), is correct.

Node temp = ctx.getRootNode();
if (temp.getLocalName().equals("message") && temp.getNamespaceURI() == null
) {
//This a variable with message parts
}
else {
//This is a normal variable
}
Here ctx refers to EvaluationContext type.

Or is there a better way to do this?

Thanks,
Waruna

-- 
-----------------------------------------------------
Regards,
Waruna Ranasinghe
BLOG: http://warunapw.blogspot.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message