private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, java.lang.String param1, org.wso2.carbon.user.mgt.stub.types.carbon.FlaggedName[] param2, org.wso2.carbon.user.mgt.stub.types.axis2.UpdateUsersOfRole dummyWrappedType, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.wso2.carbon.user.mgt.stub.types.axis2.UpdateUsersOfRole wrappedType = new org.wso2.carbon.user.mgt.stub.types.axis2.UpdateUsersOfRole(); wrappedType.setRoleName(param1); wrappedType.setUserList(param2); org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); emptyEnvelope.getBody().addChild(wrappedType.getOMElement(org.wso2.carbon.user.mgt.stub.types.axis2.UpdateUsersOfRole.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); } }
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, java.lang.String param1, org.wso2.carbon.user.mgt.stub.types.carbon.FlaggedName[] param2, org.wso2.carbon.user.mgt.stub.types.axis2.UpdateUsersOfRole dummyWrappedType, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.wso2.carbon.user.mgt.stub.types.axis2.UpdateUsersOfRole wrappedType = new org.wso2.carbon.user.mgt.stub.types.axis2.UpdateUsersOfRole(); wrappedType.setRoleName(param1); wrappedType.setUserList(param2); org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); emptyEnvelope.getBody().addChild(wrappedType.getOMElement(org.wso2.carbon.user.mgt.stub.types.axis2.UpdateUsersOfRole.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); } }
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, java.lang.String param1, org.wso2.carbon.user.mgt.stub.types.carbon.FlaggedName[] param2, org.wso2.carbon.user.mgt.stub.types.axis2.UpdateUsersOfRole dummyWrappedType, boolean optimizeContent) throws org.apache.axis2.AxisFault{ try{ org.wso2.carbon.user.mgt.stub.types.axis2.UpdateUsersOfRole wrappedType = new org.wso2.carbon.user.mgt.stub.types.axis2.UpdateUsersOfRole(); wrappedType.setRoleName(param1); wrappedType.setUserList(param2); org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); emptyEnvelope.getBody().addChild(wrappedType.getOMElement(org.wso2.carbon.user.mgt.stub.types.axis2.UpdateUsersOfRole.MY_QNAME,factory)); return emptyEnvelope; } catch(org.apache.axis2.databinding.ADBException e){ throw org.apache.axis2.AxisFault.makeFault(e); } }