new SetChallengeQuestions();
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, org.wso2.carbon.identity.mgt.stub.dto.ChallengeQuestionDTO[] param1, org.wso2.carbon.identity.mgt.stub.SetChallengeQuestions dummyWrappedType, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.wso2.carbon.identity.mgt.stub.SetChallengeQuestions wrappedType = new org.wso2.carbon.identity.mgt.stub.SetChallengeQuestions(); wrappedType.setChallengeQuestionDTOs(param1); org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); emptyEnvelope.getBody().addChild(wrappedType.getOMElement(org.wso2.carbon.identity.mgt.stub.SetChallengeQuestions.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); } }