public static uddi.apiv2.get_assertionStatusReport MapGetAssertionStatusReport(uddi.apiv3.get_assertionStatusReport get_assertionStatusReport1)
        {
            if (get_assertionStatusReport1 == null)
            {
                return(null);
            }
            uddi.apiv2.get_assertionStatusReport r = new uddi.apiv2.get_assertionStatusReport();
            r.authInfo = get_assertionStatusReport1.authInfo;
            r.generic  = VERSION;
            if (get_assertionStatusReport1.completionStatus != null)
            {
                ;
            }
            switch (get_assertionStatusReport1.completionStatus)
            {
            case uddi.apiv3.completionStatus.statusboth_incomplete:
                r.completionStatus = (null);
                break;

            case uddi.apiv3.completionStatus.statuscomplete:
                r.completionStatus = ("status:complete");
                break;

            case uddi.apiv3.completionStatus.statusfromKey_incomplete:
                r.completionStatus = ("status:fromKey_incomplete");
                break;

            case uddi.apiv3.completionStatus.statustoKey_incomplete:
                r.completionStatus = ("status:toKey_incomplete");
                break;
            }

            return(r);
        }
Exemplo n.º 2
0
 public override uddi.apiv3.assertionStatusItem[] get_assertionStatusReport(uddi.apiv3.get_assertionStatusReport get_assertionStatusReport1)
 {
     Init();
     return(MapUDDIv2to3.MapAssertionStatusItems(publish.get_assertionStatusReport(MapUDDIv3to2.MapGetAssertionStatusReport(get_assertionStatusReport1))));
 }