super.setOperationMetaData(opMetaData);
// [JBWS-2013] Implement standard message context properties
if (opMetaData != null)
{
EndpointMetaData epMetaData = opMetaData.getEndpointMetaData();
ServiceMetaData serviceMetaData = epMetaData.getServiceMetaData();
URL wsdlURL = serviceMetaData.getWsdlFileOrLocation();
if (wsdlURL != null)
{
try
{
put(MessageContext.WSDL_DESCRIPTION, wsdlURL.toURI());
}
catch (URISyntaxException e)
{
log.warn("Cannot get the wsdl url", e);
}
}
put(MessageContext.WSDL_SERVICE, serviceMetaData.getServiceName());
put(MessageContext.WSDL_PORT, epMetaData.getPortName());
put(MessageContext.WSDL_INTERFACE, epMetaData.getPortTypeName());
put(MessageContext.WSDL_OPERATION, opMetaData.getQName());
}
}