object.setChallengesDTOs((org.wso2.carbon.identity.mgt.stub.dto.UserChallengesDTO[]) org.apache.axis2.databinding.utils.ConverterUtil.convertToArray( org.wso2.carbon.identity.mgt.stub.dto.UserChallengesDTO.class,
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, java.lang.String param1, org.wso2.carbon.identity.mgt.stub.dto.UserChallengesDTO[] param2, org.wso2.carbon.identity.mgt.stub.SetChallengeQuestionsOfUser dummyWrappedType, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.wso2.carbon.identity.mgt.stub.SetChallengeQuestionsOfUser wrappedType = new org.wso2.carbon.identity.mgt.stub.SetChallengeQuestionsOfUser(); wrappedType.setUserName(param1); wrappedType.setChallengesDTOs(param2); org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); emptyEnvelope.getBody().addChild(wrappedType.getOMElement(org.wso2.carbon.identity.mgt.stub.SetChallengeQuestionsOfUser.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); } }