public TrafficNoResponse GetTrfNoByUID(UnifiedIDRequest req) { try { TrafficProfileServicesSoap obj = new TrafficProfileServicesSoapClient(); var header = new ADPTrafficProfileReference.ADPSoapHeaderIn() { UserName = username, Password = password }; var objToSend = new GetTrfNoByUnifiedIDRequest { UnifiedID = req.UnifiedID, UserID = userId, SystemCode = systemCode }; var result = obj.GetTrfNoByUnifiedID(new GetTrfNoByUnifiedIDRequest1 { ADPSoapHeaderIn = header, request = objToSend }); if (result != null) { return(new TrafficNoResponse { TcfNo = result.GetTrfNoByUnifiedIDResult.TcfNo }); } else { return(null); } } catch { return(null); } }
public TrafficNoResponse GetTrfNoByUID(UnifiedIDRequest req) { return(inquiry.GetTrfNoByUID(req)); }