Bunch o' bug fixes, all IdP configuration files now load.
[java-idp.git] / src / edu / internet2 / middleware / shibboleth / idp / profile / saml2 / HTTPSOAPAttributeQuery.java
index 4cc457f..3c3e0cd 100644 (file)
@@ -45,8 +45,9 @@ public class HTTPSOAPAttributeQuery extends AbstractAttributeQuery {
             throw new ProfileException("No request decoder was registered for binding type: " + BINDING);
         }
 
-        requestContext.setMessageDecoder(decoder);
+        super.populateMessageDecoder(decoder);
         decoder.setRequest(requestContext.getProfileRequest().getRawRequest());
+        requestContext.setMessageDecoder(decoder);
     }
 
     /** {@inheritDoc} */
@@ -58,8 +59,9 @@ public class HTTPSOAPAttributeQuery extends AbstractAttributeQuery {
             throw new ProfileException("No response encoder was registered for binding type: " + BINDING);
         }
 
-        requestContext.setMessageEncoder(encoder);
+        super.populateMessageEncoder(encoder);
         encoder.setResponse(requestContext.getProfileResponse().getRawResponse());
         encoder.setSamlMessage(requestContext.getAttributeQueryResponse());
+        requestContext.setMessageEncoder(encoder);
     }
 }
\ No newline at end of file