private org.apache.axiom.om.OMElement toOM(org.wso2.carbon.identity.mgt.stub.GetPrimarySecurityQuestionsResponse param, boolean optimizeContent) throws org.apache.axis2.AxisFault { try{ return param.getOMElement(org.wso2.carbon.identity.mgt.stub.GetPrimarySecurityQuestionsResponse.MY_QNAME, org.apache.axiom.om.OMAbstractFactory.getOMFactory()); } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); } }