JAXBElement<?> jaxbElement = (JAXBElement<?>) unmarshalledObject;
Object element = jaxbElement.getValue();
if(element instanceof Envelope)
{
envelope = (Envelope)element;
Body soapBody = envelope.getBody();
Object samlRequest = soapBody.getAny().get(0);
if(samlRequest instanceof JAXBElement)
{
jaxbRequestType = (JAXBElement<RequestAbstractType>)samlRequest;
jaxbRequestType = (JAXBElement<RequestAbstractType>)samlRequest;
xacmlRequest = (XACMLAuthzDecisionQueryType) jaxbRequestType.getValue();